Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions modules/hal_nordic/nrf-regtool/nrf-regtoolConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,7 @@ function(nrf_regtool_generate_hex_from_dts peripheral)
return()
endif()

set(merged_hex_file ${PROJECT_BINARY_DIR}/${merged_hex_name})
set_property(GLOBAL APPEND PROPERTY extra_post_build_commands
COMMAND ${PYTHON_EXECUTABLE} ${ZEPHYR_BASE}/scripts/build/mergehex.py
-o ${merged_hex_file}
${generated_hex_file}
${PROJECT_BINARY_DIR}/${KERNEL_HEX_NAME}
)
set_property(TARGET runners_yaml_props_target PROPERTY hex_file ${merged_hex_file})
ncs_merge_file(FILES ${generated_hex_file})
endfunction()


Expand Down