Skip to content

Commit

Permalink
nrf52dk needs to use the nrf52840 chip
Browse files Browse the repository at this point in the history
This isn't _technically_ the best fix, but we pretty much only use the
nrf52840. If this actually breaks the nrf52dk we will have to revisit.
  • Loading branch information
bradjc committed May 7, 2024
1 parent 5cc38ca commit 94374e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tockloader/board_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class BoardInterface:
"page_size": 4096,
"no_attribute_table": True,
"jlink": {
"device": "nrf52",
"device": "nrf52840_xxAA",
"address_maximum": 0x11FFFFFF,
},
"openocd": {
Expand Down
2 changes: 1 addition & 1 deletion tockloader/jlinkexe.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def _get_tockloader_board_from_emulators(self, emulators):
if emulator["ProductName"] == "J-Link OB-SAM3U128-V2-NordicSem":
# This seems to match both the nRF52dk (PCA10040) and the
# nRF52840dk (PCA10056). From a jlink perspective, they are
# the same, which is nice.
# close enough, which is nice.
return "nrf52dk"
if emulator["ProductName"] == "J-Link OB-nRF5340-NordicSemi":
# This matches the new (3.0.0+) version of the nRF52840dk
Expand Down

0 comments on commit 94374e3

Please sign in to comment.