-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13470 from kfessel/fix13179
boards/nucleo-f767zi: Fix13179 make nucleo-f767zi debuggable again
- Loading branch information
Showing
3 changed files
with
4 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
source [find target/stm32f7x.cfg] | ||
|
||
# specify flash start address: since target/stm32f7x.cfg doesn't, this | ||
# can be used as backup in case probing fails. When correct address is | ||
# given, the flash size is obtained from hardware so no need to specify. | ||
flash bank $_FLASHNAME.riot stm32f2x 0x08000000 0 0 0 $_TARGETNAME | ||
|
||
reset_config srst_only | ||
$_TARGETNAME configure -rtos auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,2 @@ | ||
# load the common Makefile.include for Nucleo boards | ||
include $(RIOTBOARD)/common/nucleo144/Makefile.include | ||
|
||
# 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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters