Skip to content

Commit

Permalink
target: add support for nRF54L15
Browse files Browse the repository at this point in the history
This patch adds support for nRF54L15 to pyOCD.

Signed-off-by: Maximilian Deubel <[email protected]>
  • Loading branch information
maxd-nordic committed Nov 11, 2024
1 parent 456cbf8 commit 6fc45aa
Show file tree
Hide file tree
Showing 6 changed files with 93,069 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyocd/coresight/ap.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,10 @@ def _init_rom_table_base() -> None:
is_adiv5_base = (base & AP_BASE_FORMAT_MASK) != 0
is_base_present = (base & AP_BASE_ENTRY_PRESENT_MASK) != 0
is_legacy_base_present = not is_adiv5_base and not is_base_present
if is_legacy_base_present:
if base == 0xe00fe002:
self.has_rom_table = True
self.rom_addr = 0xe00fe000
elif is_legacy_base_present:
self.has_rom_table = True
self.rom_addr = base & AP_BASE_LEGACY_BASEADDR_MASK # clear format and present bits
elif (base == AP_BASE_LEGACY_NOTPRESENT) or (not is_base_present):
Expand Down
Loading

0 comments on commit 6fc45aa

Please sign in to comment.