Skip to content

Commit 9c23eff

Browse files
carlescufifabiobaltieri
authored andcommitted
modules: hal_nordic: Enforce nrf-regtool exact version match
Require the presence of the nrf-regtool package as well as its exact version, failing the build whenever the required version is not found in the system. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
1 parent 0cd3f56 commit 9c23eff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/hal_nordic/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if(CONFIG_NRF_REGTOOL_GENERATE_UICR)
1212
list(APPEND nrf_regtool_components GENERATE:UICR)
1313
endif()
1414
if(DEFINED nrf_regtool_components)
15-
find_package(nrf-regtool 5.6.0
15+
find_package(nrf-regtool 5.6.0 REQUIRED
1616
COMPONENTS ${nrf_regtool_components}
1717
PATHS ${CMAKE_CURRENT_LIST_DIR}/nrf-regtool
1818
NO_CMAKE_PATH

0 commit comments

Comments
 (0)