RIOT/boards/maple-mini/Makefile.include
2018-06-26 20:45:23 +02:00

16 lines
415 B
Makefile

# define the cpu used by the maple-mini board
export CPU = stm32f1
export CPU_MODEL = stm32f103cb
# define the default port depending on the host OS
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
export DEBUG_ADAPTER ?= stlink
# this board uses openocd
include $(RIOTMAKE)/tools/openocd.inc.mk