diff options
-rw-r--r-- | src/arch/esp8266/Makefile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/esp8266/Makefile.inc b/src/arch/esp8266/Makefile.inc index 70b319e..f0f36f9 100644 --- a/src/arch/esp8266/Makefile.inc +++ b/src/arch/esp8266/Makefile.inc @@ -62,14 +62,14 @@ build/0x40000.bin: build/0x00000.bin # also created by commandline for 0x00000.bin program: build/0x00000.bin build/0x40000.bin - ${ESPTOOL} write_flash 0x00000 build/0x00000.bin 0x40000 build/0x40000.bin -fm dout + ${ESPTOOL} -p ${SERIAL_PORT} write_flash 0x00000 build/0x00000.bin 0x40000 build/0x40000.bin -fm dout arch_clean: rm -f ${OBJECTS} rm -f build/system.ar monitor: - screen /dev/ttyUSB0 115200 + screen ${SERIAL_PORT} 115200 arch_help: @echo "esp8266 coding advice:" |