# 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 export RESET = esptool.py --before default_reset run