Skip to content

Conversation

SebastianBoe
Copy link
Contributor

…r/zephyr.hex

uicr/zephyr/zephyr.hex needs to be built after all other zephyr images.

Instead of adding a dependency on uicr, we check the sysbuild_images property to find images.

Also, we check it as late possible by using the cmake_language(DEFER DIRECTORY feature. Which will ensure that running this code will be one of the last things that the CMake sysbuild program does at Configure time.

Upstream PR #: 97685

…r/zephyr.hex

uicr/zephyr/zephyr.hex needs to be built after all other zephyr
images.

Instead of adding a dependency on uicr, we check the sysbuild_images
property to find images.

Also, we check it as late possible by using the cmake_language(DEFER
DIRECTORY feature. Which will ensure that running this code will be
one of the last things that the CMake sysbuild program does at
Configure time.

Upstream PR #: 97685

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
@nordicjm nordicjm merged commit 53fe382 into nrfconnect:main Oct 17, 2025
15 checks passed
@SebastianBoe SebastianBoe deleted the ncs_fix_uicr_deps branch October 17, 2025 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants