I'm following along with the Nordic Academy tutorial for v2.7.0-v2.9.0. I made the recommended modifications to my v2.9.0 project with an nRF54L15-DK target:
- Create sysbuild.conf with SB_CONFIG_BOOTLOADER_MCUBOOT=y
- Add CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU=y to the main app prj.conf
While this did properly add OTA DFU support, it also generated a handful of warnings when running CMake for mcuboot. First, FPROTECT_ALLOW_COMBINED_REGIONS was set to 'n' because FPROTECT was set to 'n'. Second, NRF_RTC_TIMER_USER_CHAN_COUNT was not assigned a value and is dependent on (NRF_RTC_TIMER && SYS_CLOCK_EXISTS). To resolve these warnings, I created an mcuboot.conf file in app/sysbuild and added the following configs:
CONFIG_FPROTECT=y
CONFIG_NRF_RTC_TIMER=y
CONFIG_SYS_CLOCK_EXISTS=y
mcuboot builds successfully after this change but now I get build errors for the main app:
It seems to be looking for an RTC instance based on the old naming sequence? That's what I gathered from the error output at least. Am I doing something wrong in trying to integrate OTA DFU here, and if so, how can I resolve the original build warnings the correct way?