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>
This commit is contained in:
parent
6c6c743c91
commit
4edc003b9c
1 changed files with 3 additions and 2 deletions
|
@ -2,8 +2,9 @@
|
|||
|
||||
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake)
|
||||
|
||||
if(CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUAPP OR CONFIG_BOARD_NRF54H20DK_NRF54H20_CPURAD)
|
||||
if(CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUAPP)
|
||||
if(CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUAPP OR CONFIG_BOARD_NRF54H20DK_NRF54H20_CPURAD
|
||||
OR CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUAPP_IRON)
|
||||
if(CONFIG_SOC_NRF54H20_CPUAPP)
|
||||
set(JLINKSCRIPTFILE ${CMAKE_CURRENT_LIST_DIR}/support/nrf54h20_cpuapp.JLinkScript)
|
||||
else()
|
||||
set(JLINKSCRIPTFILE ${CMAKE_CURRENT_LIST_DIR}/support/nrf54h20_cpurad.JLinkScript)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue