2018-03-06 19:18:24 +01:00
|
|
|
## the cpu to build for
|
|
|
|
export CPU = stm32f4
|
|
|
|
export CPU_MODEL = stm32f437vg
|
|
|
|
|
2019-07-05 19:29:48 +02:00
|
|
|
# we use shared STM32 configuration snippets
|
|
|
|
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
|
|
|
|
2018-03-06 19:18:24 +01: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
|
|
|
|
STLINK_VERSION ?= 2-1
|
2018-03-06 19:18:24 +01:00
|
|
|
|
|
|
|
# this board uses openocd
|
|
|
|
include $(RIOTMAKE)/tools/openocd.inc.mk
|