2018-06-08 22:18:39 +02:00
|
|
|
# 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*)))
|
|
|
|
|
2020-11-19 18:38:41 +01:00
|
|
|
# this board uses openocd with st-link
|
|
|
|
PROGRAMMER ?= openocd
|
2018-06-08 22:18:39 +02:00
|
|
|
|
2021-02-18 17:15:55 +01:00
|
|
|
OPENOCD_DEBUG_ADAPTER ?= stlink
|
2021-02-11 14:21:17 +01:00
|
|
|
|
|
|
|
# openocd programmer is supported
|
2024-06-26 14:54:21 +02:00
|
|
|
PROGRAMMERS_SUPPORTED += openocd cpy2remed
|
|
|
|
|
|
|
|
#needed by cpy2remed
|
|
|
|
DIR_NAME_AT_REMED = "DISCOVERY"
|