Skip to content

Commit

Permalink
[nrf fromlist] modules: hal_nordic: Enforce nrf-regtool minimum version
Browse files Browse the repository at this point in the history
Require the presence of the nrf-regtool package as well as requiring
a minimum version, failing the build whenever a suitable version is not
found in the system.

Upstream PR: zephyrproject-rtos/zephyr#69633

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
(cherry picked from commit 0e13f61d8ed687a2cc428c8a0458f496e639bd70)
  • Loading branch information
carlescufi authored and jfischer-no committed Mar 4, 2024
1 parent 9448e2b commit 8d93a16
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 @@ -11,7 +11,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.1.0
find_package(nrf-regtool 5.1.0 REQUIRED
COMPONENTS ${nrf_regtool_components}
PATHS ${CMAKE_CURRENT_LIST_DIR}/nrf-regtool
NO_CMAKE_PATH
Expand Down

0 comments on commit 8d93a16

Please sign in to comment.