2018-05-15 13:55:34 +02:00
|
|
|
# the cpu to build for
|
|
|
|
export CPU = stm32l4
|
|
|
|
export CPU_MODEL = stm32l476vg
|
|
|
|
|
2019-03-31 16:35:20 +02:00
|
|
|
# we use shared STM32 configuration snippets
|
|
|
|
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
|
|
|
|
2018-05-15 13:55:34 +02:00
|
|
|
# define the default port depending on the host OS
|
|
|
|
PORT_LINUX ?= /dev/ttyACM0
|
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
|
|
|
|
|
|
# setup serial terminal
|
|
|
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
|
|
|
|
2019-05-31 11:43:47 +02:00
|
|
|
DEBUG_ADAPTER ?= stlink
|
2018-05-15 13:55:34 +02:00
|
|
|
|
|
|
|
# this board uses openocd
|
|
|
|
include $(RIOTMAKE)/tools/openocd.inc.mk
|