How to use "make load" on the command line

Discussion to talk about software related topics only.
Post Reply
jpelletier
Posts: 18
Joined: Wed Dec 23, 2020 3:32 am

How to use "make load" on the command line

Post 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?
User avatar
TomNB
Posts: 538
Joined: Tue May 10, 2016 8:22 am

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

Post by TomNB »

Do you want to do this interactively, or is this part of an automated build script?
User avatar
pbreed
Posts: 1080
Joined: Thu Apr 24, 2008 3:58 pm

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

Post 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.
User avatar
pbreed
Posts: 1080
Joined: Thu Apr 24, 2008 3:58 pm

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

Post by pbreed »

For 2.x tools

set TARGETIP="10.1.2.3" (Its possible you should leave off the quotes.)
jpelletier
Posts: 18
Joined: Wed Dec 23, 2020 3:32 am

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

Post 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!
Post Reply