upload in build script
This commit is contained in:
parent
67f181076e
commit
859dcf5f24
1
build.sh
1
build.sh
@ -26,6 +26,7 @@ elif [ "$1" == "clean" ]; then
|
||||
done
|
||||
elif [ "$1" == "upload" ]; then
|
||||
echo "About to upload to device"
|
||||
esptool.py --port /dev/ttyUSB1 write_flash 0 sketch.esp8266.esp8266.nodemcu.bin
|
||||
else
|
||||
echo "Unknown subcommand '$1'"
|
||||
exit 1
|
||||
|
@ -8,8 +8,8 @@
|
||||
#ifndef DEFINES_H_
|
||||
#define DEFINES_H_
|
||||
|
||||
//#define DEBUG
|
||||
#define SLEEP
|
||||
#define DEBUG
|
||||
//#define SLEEP
|
||||
|
||||
#define EEPROM_ADDR 0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user