2019-07-05 19:53:21 +02:00
|
|
|
# we use shared STM32 configuration snippets
|
|
|
|
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
|
|
|
|
2017-03-31 11:31:22 +02:00
|
|
|
# define the default port depending on the host OS
|
|
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
|
|
|
|
2019-03-15 08:06:58 +01:00
|
|
|
# this board is flashed using DFU
|
2020-11-19 18:38:41 +01:00
|
|
|
PROGRAMMER ?= dfu-util
|
2022-11-26 18:26:58 +01:00
|
|
|
DFU_USB_ID ?= 0483:df11
|
|
|
|
DFU_USE_DFUSE ?= 1
|
2021-02-11 14:21:17 +01:00
|
|
|
|
|
|
|
# dfu-util programmer is supported
|
|
|
|
PROGRAMMERS_SUPPORTED += dfu-util
|