Skip to content

Commit 22f5db9

Browse files
hakonfamSebastianBoe
authored andcommitted
[nrf fromtree] boards: nordic: nrf54h20dk: fix debugging for iron board variant
The required jlink script was not added due to missing entry in the board check. Also change the check for app vs rad to be on SOC level. Signed-off-by: Håkon Amundsen <[email protected]> (cherry picked from commit 4edc003)
1 parent ca2af2f commit 22f5db9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

boards/nordic/nrf54h20dk/board.cmake

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake)
44

5-
if(CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUAPP OR CONFIG_BOARD_NRF54H20DK_NRF54H20_CPURAD)
6-
if(CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUAPP)
5+
if(CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUAPP OR CONFIG_BOARD_NRF54H20DK_NRF54H20_CPURAD
6+
OR CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUAPP_IRON)
7+
if(CONFIG_SOC_NRF54H20_CPUAPP)
78
set(JLINKSCRIPTFILE ${CMAKE_CURRENT_LIST_DIR}/support/nrf54h20_cpuapp.JLinkScript)
89
else()
910
set(JLINKSCRIPTFILE ${CMAKE_CURRENT_LIST_DIR}/support/nrf54h20_cpurad.JLinkScript)

0 commit comments

Comments
 (0)