diff options
author | Mitch Bradley <wmb@firmworks.com> | 2016-10-13 08:40:06 -1000 |
---|---|---|
committer | Mitch Bradley <wmb@firmworks.com> | 2016-10-13 08:40:06 -1000 |
commit | 5972a99e740e3a40cdd3f903bd27302d08f0b876 (patch) | |
tree | fd58942a29cca6fd42539aefed64575663008ad3 | |
parent | 30c7093e86d5b95003f9a87671da59f04cd98526 (diff) | |
download | cforth-5972a99e740e3a40cdd3f903bd27302d08f0b876.tar.gz |
Allow command line override of comport name
e.g. "COMPORT=COM4 make download"
For complete functionality, the "loadit" script in nodemcu-firmware
must be modified to get the comport name from $1 instead of hardcoding.
-rw-r--r-- | build/esp8266/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/esp8266/Makefile b/build/esp8266/Makefile index 8f2382c..1337eaa 100644 --- a/build/esp8266/Makefile +++ b/build/esp8266/Makefile @@ -14,6 +14,6 @@ GCCPATH := C:/ CROSS ?= $(GCCPATH)xtensa-lx106-elf/bin/xtensa-lx106-elf- NODEMCU_PATH = $(TOPDIR)/../nodemcu-firmware SDK_VER:=1.5.4.1 -COMPORT:=COM36 +COMPORT ?= COM36 include $(TOPDIR)/src/app/esp8266/targets.mk |