diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-01-29 15:50:09 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-01-29 15:50:09 +0100 |
commit | b92d32fd2622cb575e8d80e06447a30a4c8da4bb (patch) | |
tree | 67d60d872feb505a3bd671f8810469dcc4e33b1c /src/arch/esp8266 | |
parent | 05c4a7af8fadf4be8bdb794fc0335e113c134d14 (diff) |
update architecture-specific help
Diffstat (limited to 'src/arch/esp8266')
-rw-r--r-- | src/arch/esp8266/Makefile.inc | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/src/arch/esp8266/Makefile.inc b/src/arch/esp8266/Makefile.inc index 6f97898..d2ae7d8 100644 --- a/src/arch/esp8266/Makefile.inc +++ b/src/arch/esp8266/Makefile.inc @@ -1,9 +1,9 @@ # vim:ft=make -TOOLCHAIN_BASE = /home/derf/var/projects/esp8266/toolchain/xtensa-lx106-elf/bin -SDK_BASE = /home/derf/var/projects/esp8266/toolchain/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr -ESPTOOL = esptool -PORT = /dev/ttyUSB0 +TOOLCHAIN_BASE ?= /home/derf/var/projects/esp8266/toolchain/xtensa-lx106-elf/bin +SDK_BASE ?= /home/derf/var/projects/esp8266/toolchain/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr +ESPTOOL ?= esptool +PORT ?= /dev/ttyUSB0 CC = ${TOOLCHAIN_BASE}/xtensa-lx106-elf-gcc CXX = ${TOOLCHAIN_BASE}/xtensa-lx106-elf-g++ @@ -72,8 +72,17 @@ monitor: screen /dev/ttyUSB0 115200 arch_help: + @echo "esp8266 coding advice:" + @echo " The ESP8266 SDK does not give full hardware control." + @echo " Applications must release control every hundred or so milliseconds." + @echo " It is strongly recommended to only use loop=1" + @echo @echo "esp8266 specific flags:" - @echo " - none -" + @echo " esp8266_led2 = 0 (enable if you are using a NodeMCU dev board with two LEDs)" + @echo " TOOLCHAIN_BASE = /home/derf/var/projects/esp8266/toolchain/xtensa-lx106-elf/bin" + @echo " SDK_BASE = /home/derf/var/projects/esp8266/toolchain/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr" + @echo " ESPTOOL = esptool" + @echo " PORT = /dev/ttyUSB0" arch_info: @echo "Counter Overflow: ?/?" |