1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/boards/common/esp8266/Makefile.include
Gaëtan Harter 4a085270ea
boards/esp*: use PORT in RESET_FLAGS
This allows selecting the correct device when multiple boards are connected.
2019-06-14 15:58:36 +02:00

13 lines
352 B
Makefile

# the cpu to build for
export CPU ?= esp8266
export CPU_MODEL ?= esp8266
# configure the serial interface
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
include $(RIOTMAKE)/tools/serial.inc.mk
# reset tool configuration
RESET ?= esptool.py
RESET_FLAGS ?= --port $(PORT) --before default_reset run