Browse Source

soc: nordic: ironside: Fix bleeding config

Fixes generating a library for devices that do not need it which
gives a cmake warning

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
main
Jamie McCrae 4 days ago committed by Daniel DeGrasse
parent
commit
85d4ebcf51
  1. 2
      soc/nordic/CMakeLists.txt
  2. 3
      soc/nordic/ironside/CMakeLists.txt
  3. 3
      soc/nordic/nrf54h/soc.c

2
soc/nordic/CMakeLists.txt

@ -47,4 +47,4 @@ endif() @@ -47,4 +47,4 @@ endif()
add_subdirectory(${SOC_SERIES})
add_subdirectory(common)
add_subdirectory(ironside)
add_subdirectory_ifdef(CONFIG_NRF_IRONSIDE ironside)

3
soc/nordic/ironside/CMakeLists.txt

@ -2,11 +2,8 @@ @@ -2,11 +2,8 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_include_directories(include)
zephyr_library()
zephyr_library_sources_ifdef(CONFIG_NRF_IRONSIDE_CALL call.c)
zephyr_library_sources_ifdef(CONFIG_NRF_IRONSIDE_BOOT_REPORT boot_report.c)
zephyr_library_sources_ifdef(CONFIG_NRF_IRONSIDE_CPUCONF_SERVICE cpuconf.c)
zephyr_library_sources_ifdef(CONFIG_NRF_IRONSIDE_UPDATE_SERVICE update.c)

3
soc/nordic/nrf54h/soc.c

@ -22,7 +22,10 @@ @@ -22,7 +22,10 @@
#include <soc/nrfx_coredep.h>
#include <soc_lrcconf.h>
#include <dmm.h>
#if defined(CONFIG_SOC_NRF54H20_CPURAD_ENABLE)
#include <nrf_ironside/cpuconf.h>
#endif
LOG_MODULE_REGISTER(soc, CONFIG_SOC_LOG_LEVEL);

Loading…
Cancel
Save