From 29fbdd77861ecd60aafd96ce7289143769b55f55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Harter?= Date: Wed, 5 Jun 2019 11:43:36 +0200 Subject: [PATCH] boards/esp*: use PORT in RESET_FLAGS This allows selecting the correct device when multiple boards are connected. --- boards/common/esp32/Makefile.include | 2 +- boards/common/esp8266/Makefile.include | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/common/esp32/Makefile.include b/boards/common/esp32/Makefile.include index 03f2450526bdb..4a005b0d3a430 100644 --- a/boards/common/esp32/Makefile.include +++ b/boards/common/esp32/Makefile.include @@ -9,4 +9,4 @@ include $(RIOTMAKE)/tools/serial.inc.mk # reset tool configuration RESET ?= esptool.py -RESET_FLAGS ?= --before default_reset run +RESET_FLAGS ?= --port $(PORT) --before default_reset run diff --git a/boards/common/esp8266/Makefile.include b/boards/common/esp8266/Makefile.include index 92beddd9790e6..bde04dbd41947 100644 --- a/boards/common/esp8266/Makefile.include +++ b/boards/common/esp8266/Makefile.include @@ -9,4 +9,4 @@ include $(RIOTMAKE)/tools/serial.inc.mk # reset tool configuration RESET ?= esptool.py -RESET_FLAGS ?= --before default_reset run +RESET_FLAGS ?= --port $(PORT) --before default_reset run