Skip to content

Commit 3fa14a5

Browse files
magp-nordicmasz-nordic
authored andcommitted
[nrf fromlist] soc: nordic: align paths to BSP
Align paths after introducing BSP. Upstream PR #: 96160 Signed-off-by: Magdalena Pastula <[email protected]>
1 parent c311135 commit 3fa14a5

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

soc/nordic/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ if(CONFIG_BUILD_WITH_TFM)
4545
)
4646
endif()
4747

48-
add_subdirectory(${SOC_SERIES})
48+
if(CONFIG_SOC_NORDIC_BSP_NAME STREQUAL "stable")
49+
add_subdirectory(${SOC_SERIES})
50+
endif()
51+
4952
add_subdirectory(common)
5053
add_subdirectory_ifdef(CONFIG_NRF_IRONSIDE ironside)

soc/nordic/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ config SOC_FAMILY_NORDIC_NRF
5050

5151
if SOC_FAMILY_NORDIC_NRF
5252

53+
config SOC_NORDIC_BSP_NAME
54+
string
55+
default "stable"
56+
5357
rsource "common/Kconfig.peripherals"
5458
rsource "*/Kconfig"
5559

soc/nordic/nrf54h/bicr/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
if(CONFIG_SOC_NRF54H20_GENERATE_BICR)
22
set(bicr_json_file ${BOARD_DIR}/bicr.json)
33
set(bicr_hex_file ${PROJECT_BINARY_DIR}/bicr.hex)
4-
set(svd_file ${ZEPHYR_HAL_NORDIC_MODULE_DIR}/nrfx/mdk/nrf54h20_application.svd)
4+
set(svd_file ${ZEPHYR_HAL_NORDIC_MODULE_DIR}/nrfx/bsp/stable/mdk/nrf54h20_application.svd)
55

66
if(EXISTS ${bicr_json_file})
77
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS ${bicr_json_file})

0 commit comments

Comments
 (0)