summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-12-22 10:44:08 +0000
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-03-02 22:50:55 +0200
commitd083d7d610272a8c77be955046a88f740593c518 (patch)
tree52d8c11ed1d0ab58db75050742fe60d4d27fe1d9 /esp8266
parent6f4357c28e7e53aa329b91b5c7b3814357a0cd22 (diff)
downloadmicropython-d083d7d610272a8c77be955046a88f740593c518.tar.gz
micropython-d083d7d610272a8c77be955046a88f740593c518.zip
esp8266: Allow Makefile's PORT variable to be overridden.
Diffstat (limited to 'esp8266')
-rw-r--r--esp8266/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/esp8266/Makefile b/esp8266/Makefile
index 62f1d2a20d..c83640fb78 100644
--- a/esp8266/Makefile
+++ b/esp8266/Makefile
@@ -9,7 +9,7 @@ include ../py/py.mk
MAKE_FROZEN = ../tools/make-frozen.py
SCRIPTDIR = scripts
-PORT = /dev/ttyACM0
+PORT ?= /dev/ttyACM0
BAUD = 115200
CROSS_COMPILE = xtensa-lx106-elf-
ESP_SDK = $(shell $(CC) -print-sysroot)/usr