Page 1 of 1

How to use "make load" on the command line

Posted: Thu Dec 24, 2020 5:43 am
by jpelletier
I can use the command "make" on the dos prompt (windows 10), but "make load" needs a target and target host.
How do we specify these? How do I specify my netburner IP?

Re: How to use "make load" on the command line

Posted: Thu Dec 24, 2020 9:00 am
by TomNB
Do you want to do this interactively, or is this part of an automated build script?

Re: How to use "make load" on the command line

Posted: Thu Dec 24, 2020 9:07 am
by pbreed
So 3.X or 2.X?

if 3.X then set the environment variable..

set DEVIP=10.1.2.3

(User your board IP)

then make load will work...


For 2.X tools... a bit more complicated...
If the autoupdate tool remembers the last IP pointed at...
when you shut it down and restart...
Then it will just work...

IE point autoupdate at the board once, close autoupdate and then make load will work..
If that does not work (has to do with registry permissions) you can run as administrator and that will work.
Will post the no admin solution for 2.X in a minute I need to test it first.

Re: How to use "make load" on the command line

Posted: Thu Dec 24, 2020 9:09 am
by pbreed
For 2.x tools

set TARGETIP="10.1.2.3" (Its possible you should leave off the quotes.)

Re: How to use "make load" on the command line

Posted: Fri Dec 25, 2020 1:54 am
by jpelletier
It's Netburner version 3.3.0
I use make load on the command line.
Setting the TARGET_IP variable worked on Linux. Thanks!