2018-02-13 11:25:32 +01:00
|
|
|
# we use shared STM32 configuration snippets
|
|
|
|
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
|
|
|
|
2015-04-22 15:45:35 +02:00
|
|
|
# set default port depending on operating system
|
|
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
2016-02-13 21:51:08 +01:00
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
2014-04-17 19:39:36 +02:00
|
|
|
|
2020-11-19 18:38:41 +01:00
|
|
|
# this board uses openocd with st-link
|
|
|
|
PROGRAMMER ?= openocd
|
2019-05-31 11:43:47 +02:00
|
|
|
DEBUG_ADAPTER ?= stlink
|
|
|
|
STLINK_VERSION ?= 2
|
2021-01-05 17:56:21 +01:00
|
|
|
|
|
|
|
# Tell renode on which UART stdio is available
|
|
|
|
RENODE_SYSBUS_UART ?= sysbus.uart2
|