Skip to content

Commit 1575eb8

Browse files
committed
hel: nrf-regtool: Use sysbuild to merge UICRs
Use sysbuild functionalities to merge UICRs with local domain firmware. Ref: NCSDK-NONE Signed-off-by: Tomasz Chyrowicz <[email protected]>
1 parent daf34bb commit 1575eb8

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

modules/hal_nordic/nrf-regtool/nrf-regtoolConfig.cmake

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,7 @@ function(nrf_regtool_generate_hex_from_dts peripheral)
2828
return()
2929
endif()
3030

31-
set(merged_hex_file ${PROJECT_BINARY_DIR}/${merged_hex_name})
32-
set_property(GLOBAL APPEND PROPERTY extra_post_build_commands
33-
COMMAND ${PYTHON_EXECUTABLE} ${ZEPHYR_BASE}/scripts/build/mergehex.py
34-
-o ${merged_hex_file}
35-
${generated_hex_file}
36-
${PROJECT_BINARY_DIR}/${KERNEL_HEX_NAME}
37-
)
38-
set_property(TARGET runners_yaml_props_target PROPERTY hex_file ${merged_hex_file})
31+
ncs_merge_file(FILES ${generated_hex_file})
3932
endfunction()
4033

4134

0 commit comments

Comments
 (0)