RIOT/boards/stm32l0538-disco/Makefile.include
2019-07-08 09:06:55 +02:00

19 lines
508 B
Makefile

# define the cpu used by the stm32l0538-disco board
export CPU = stm32l0
export CPU_MODEL = stm32l053c8
# we use shared STM32 configuration snippets
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
# define the default port depending on the host OS
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
DEBUG_ADAPTER ?= stlink
# this board uses openocd
include $(RIOTMAKE)/tools/openocd.inc.mk