2017-11-16 17:17:41 +01:00
|
|
|
# export this module and its includes
|
|
|
|
INCLUDES += -I$(RIOTBOARD)/common/nucleo/include
|
2017-11-16 12:30:16 +01:00
|
|
|
|
2018-02-13 10:21:06 +01:00
|
|
|
# we use shared STM32 configuration snippets
|
|
|
|
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
|
|
|
|
2019-11-12 15:52:37 +01:00
|
|
|
# Setup of programmer and serial is shared between STM32 based boards
|
|
|
|
include $(RIOTMAKE)/boards/stm32.inc.mk
|
2022-05-03 15:44:43 +02:00
|
|
|
|
2022-06-03 19:19:26 +02:00
|
|
|
# If port selection via ttys.py is enabled by `MOST_RECENT_PORT=1`, filter
|
|
|
|
# USB serials to only select the UART bridge of embedded STLink debuggers.
|
|
|
|
TTY_BOARD_FILTER := --model 'STM32 STLink'
|
|
|
|
|
2022-05-03 15:44:43 +02:00
|
|
|
# variable needed by cpy2remed PROGRAMMER
|
|
|
|
# it contains name of ST-Link removable media
|
|
|
|
|
|
|
|
DIR_NAME_AT_REMED = "NODE$(call uppercase,$(subst -,_,$(subst nucleo,,$(BOARD))))"
|
|
|
|
|
|
|
|
PROGRAMMERS_SUPPORTED += cpy2remed
|