Skip to content

Commit 4edc003

Browse files
hakonfamkartben
authored andcommitted
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 <haakon.amundsen@nordicsemi.no>
1 parent 6c6c743 commit 4edc003

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)