Skip to content

Commit

Permalink
modules: hal_nordic: Enforce nrf-regtool exact version match
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
carlescufi authored and fabiobaltieri committed Sep 5, 2024
1 parent 0cd3f56 commit 9c23eff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/hal_nordic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if(CONFIG_NRF_REGTOOL_GENERATE_UICR)
list(APPEND nrf_regtool_components GENERATE:UICR)
endif()
if(DEFINED nrf_regtool_components)
find_package(nrf-regtool 5.6.0
find_package(nrf-regtool 5.6.0 REQUIRED
COMPONENTS ${nrf_regtool_components}
PATHS ${CMAKE_CURRENT_LIST_DIR}/nrf-regtool
NO_CMAKE_PATH
Expand Down

0 comments on commit 9c23eff

Please sign in to comment.