2020-08-30 12:30:13 +02:00
|
|
|
# Include shared STM32 headers
|
|
|
|
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
|
|
|
|
2017-05-18 15:46:38 +02:00
|
|
|
# configure the serial interface
|
|
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
2014-09-17 15:08:57 +02:00
|
|
|
|
2017-10-24 14:24:19 +02:00
|
|
|
# Skip the space needed by the embedded bootloader
|
2020-02-22 09:33:46 +01:00
|
|
|
ROM_OFFSET ?= 0x5000
|
2017-10-24 14:24:19 +02:00
|
|
|
|
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 ?= 1d50:607f
|
|
|
|
DFU_USE_DFUSE ?= 1
|
2021-02-24 12:48:22 +01:00
|
|
|
|
|
|
|
PROGRAMMERS_SUPPORTED += dfu-util
|