Skip to content

Commit

Permalink
boards/esp*: use PORT in RESET_FLAGS
Browse files Browse the repository at this point in the history
This allows selecting the correct device when multiple boards are connected.
  • Loading branch information
cladmi committed Jun 7, 2019
1 parent dfaa99e commit 29fbdd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion boards/common/esp32/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion boards/common/esp8266/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 29fbdd7

Please sign in to comment.