-->
Page 1 of 2

How to upload directly (not compile+upload through IDE)

PostPosted: Wed Aug 12, 2015 7:05 am
by Chris Carter
Hey guys,

I'm trying to work out how to make a file I can upload directly to the board. I want to send the same program to a few hundred of these bad-boys and don't want to have to compile+upload every time. How can I create a file and just send it?

Re: How to upload directly (not compile+upload through IDE)

PostPosted: Wed Aug 12, 2015 7:19 am
by GigAHerZ
Only way to do that is to use interpreted programming language. For ESP, there's NodeMCU firmware that allows you to write code in LUA, which is interpreted language.

Re: How to upload directly (not compile+upload through IDE)

PostPosted: Wed Aug 12, 2015 7:49 am
by CptanPanic
When you build on the arduino, you can find the created bin file and use esptool to flash that.

Re: How to upload directly (not compile+upload through IDE)

PostPosted: Wed Aug 12, 2015 3:03 pm
by martinayotte
If you turn verbose preference in ArduinoIDE, you will see the command line that is used for upload.
It look like :
Code: Select allesptool -vv -cd ck -cb 115200 -cp /dev/ttyUSB0 -ca 0x00000 -cf /tmp/build7954594845470280878.tmp/Sketch_Buffet.cpp.bin

Of course, you can copy the resulting binary from this /tmp folder as a backup for future uploads.