summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-11-04 15:42:51 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2019-11-04 15:42:51 +0100
commitd655a5eb915f0c067f5929badb7549dd02468d1b (patch)
treef0120aa5e42bfd3da8fb435fb585fb064781f798 /src/arch
parent84a76ad5b9f91aa3d5df2d4f4480914bb7157099 (diff)
esp8266: make serial port configurable
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/esp8266/Makefile.inc4
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:"