* CPU files should already have 'CPU' defined by the board. * Do not conditionally define CPU as it is not needed. This is part of cleanup prior to moving the CPU/CPU_MODEL to Makefile.features.
12 lines
316 B
Makefile
12 lines
316 B
Makefile
# the cpu to build for
|
|
export CPU = esp32
|
|
export CPU_MODEL = esp32
|
|
|
|
# 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 --before default_reset run
|