-
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.
fixup! boards/nrf52*dk: configure pinreset after flashing
- Loading branch information
Showing
4 changed files
with
12 additions
and
0 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,2 +1,7 @@ | ||
# Set UICR.PSELRESET[0] and UICR.PSELRESET[1] registers at 0x10001200 | ||
# to pin P0.21 (0x15), which is connected to the onboard Reset button | ||
JLINK_POST_FLASH = Write4 0x10001200 00000015 00000015 | ||
OPENOCD_PRE_VERIFY_CMDS = -c 'flash fillw 0x10001200 0x00000015 2' | ||
|
||
# include common configuration for nrf52 based boards | ||
include $(RIOTBOARD)/common/nrf52/Makefile.include |
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
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
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,3 +1,8 @@ | ||
MODULE = board | ||
|
||
# Set UICR.PSELRESET[0] and UICR.PSELRESET[1] registers at 0x10001200 | ||
# to pin P0.18 (0x12), which is connected to the onboard Reset button | ||
JLINK_POST_FLASH = Write4 0x10001200 00000012 00000012 | ||
OPENOCD_PRE_VERIFY_CMDS = -c 'flash fillw 0x10001200 0x00000012 2' | ||
|
||
include $(RIOTBASE)/Makefile.base |