Hello Nordic team,
I would like to automatically patch the merged.hex
file each time I build my project. I’ve attempted to use extra_post_build
in CMakeLists.txt
, but my patching script still runs before the merged.hex
file is generated.
From what I’ve read here https://devzone.nordicsemi.com/f/nordic-q-a/102010/adding-extra_post_build-step-from-out-of-tree-application, this behavior might be due to the CONFIG_BOOTLOADER_MCUBOOT
macro.
Is there an alternative solution or recommended approach to ensure that my patching logic runs after merged.hex
is fully created? i am using nrf 5340 and sdk 2.9.0
Thank you in advance!
Best regards,
kelk