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:34 +02:00
|
|
|
# define the default port depending on the host OS
|
|
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
2016-02-13 21:51:08 +01:00
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
2014-11-04 14:46:16 +01:00
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
# st-flash
|
2019-05-17 13:52:34 +02:00
|
|
|
FLASHER = st-flash
|
2019-12-20 18:36:34 +01:00
|
|
|
DEBUGGER = $(RIOTBOARD)/f4vi1/dist/debug.sh
|
2019-05-17 13:52:34 +02:00
|
|
|
DEBUGSERVER = st-util
|
2014-11-04 14:46:16 +01:00
|
|
|
|
2015-05-28 15:09:17 +02:00
|
|
|
# define st-flash parameters
|
2018-12-19 19:21:45 +01:00
|
|
|
FLASHFILE ?= $(BINFILE)
|
|
|
|
FFLAGS = write $(FLASHFILE) 0x8000000
|
2022-05-31 12:39:16 +02:00
|
|
|
DEBUGGER_FLAGS = $(RIOTBOARD)/f4vi1/dist/gdb.conf $(DEBUG_ELFFILE)
|