2017-05-01 19:10:52 +02:00
|
|
|
# load the common Makefile.include for Nucleo boards
|
2017-11-16 12:29:47 +01:00
|
|
|
include $(RIOTBOARD)/common/nucleo144/Makefile.include
|
2020-01-21 17:40:50 +01:00
|
|
|
|
|
|
|
# openocd configuration file for `stm32f7` relies on probing to find out
|
|
|
|
# FLASH_ADDR. On this board probing (`flash probe 0`) fails when `srst` is
|
|
|
|
# asserted, but `srst` needs to be asserted to be able to flash the `BOARD`
|
|
|
|
# when sleeping or after a hardfault.
|
|
|
|
# To circumvent this in boards/common/stm32/dist/stm32f7.cfg we define a new
|
|
|
|
# flash bank with the appropriate flash start address and specify that this is
|
|
|
|
# the flash bank to be used as default configuration instead of the default (1)
|
|
|
|
FLASH_BANK ?= 4
|
|
|
|
$(call target-export-variables,flash flash-only,FLASH_BANK)
|