Hello,
I'm developing on a custom nRF5340 board without an external clock source - nRF Connect v.2.9.0. For my application, I'm using the internal system clock with this configuration in prj.conf
:
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=n CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH=y CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=n CONFIG_SOC_ENABLE_LFXO=n
This configuration works correctly when running without a bootloader. However, when implementing BLE DFU using MCUboot for non-simultaneous updates whitout a external memory, I'm encountering an issue during bootloader execution.
During debugging of MCUboot, the code halts at:

This suggests MCUboot isn't recognizing the internal clock configuration. I suspect the clock-related macros aren't being properly applied to the bootloader image.
Could you please advise how to:
- Correctly configure MCUboot to use the internal SYNTH clock source
- Ensure the clock configuration propagates to the bootloader build
- Resolve the bootloader's dependency on an external crystal
I've attempted to use a child_image/mcuboot.conf with the clock settings and sysbuild keep the sysbuild.conf:
# Step 2.1 Enable MCUboot SB_CONFIG_BOOTLOADER_MCUBOOT=y SB_CONFIG_MCUBOOT_UPDATEABLE_IMAGES=1 SB_CONFIG_DFU_MULTI_IMAGE_PACKAGE_BUILD=y SB_CONFIG_DFU_MULTI_IMAGE_PACKAGE_APP=y
, but the issue persists. Any guidance on the proper configuration approach for internal clock usage with MCUboot would be greatly appreciated.
Thank you for your assistance.