nrf54l15: FOTA error

Hello Team,

I am trying to set configurations for FOTA. I refer smv_server sample code and the following document https://docs.nordicsemi.com/bundle/ncslatest/page/nrf/app_dev/device_guides/nrf54l/fota_update.html for the configuration.

But I am getting the following error while compiling the code "error: 'PM_MCUBOOT_PRIMARY_ID' undeclared".

Can anyone please help me resolve the error?

Thanks,

Payal

Parents
  • Hi,

    I am not able to reproduce this with SDK 2.9.1 when building for the nRF54L15 DK. Are you using an older SDK? If so, I suggest you udate. If you see this error with 2.9.1, have you made any changes to the sample? If so, which?

  • Hi,

    Thanks for your reply. I resolved the error; it was due to the missing SB_CONFIG_BOOTLOADER_MCUBOOT=y configuration in sysbuild.conf. But after adding in sysbuild.conf file, I got a new error: "region `FLASH' overflowed by 10364 bytes". To resolve this error, I increased the FLASH space allocated for the MCUboot partition by adding CONFIG_PM_PARTITION_SIZE_MCUBOOT=0xd000 in my prj.conf file and build the code but getting the warning "warning: attempt to assign the value '0xd000' to the undefined symbol PM_PARTITION_SIZE_MCUBOOT" and error "error: Aborting due to Kconfig warnings".

Reply
  • Hi,

    Thanks for your reply. I resolved the error; it was due to the missing SB_CONFIG_BOOTLOADER_MCUBOOT=y configuration in sysbuild.conf. But after adding in sysbuild.conf file, I got a new error: "region `FLASH' overflowed by 10364 bytes". To resolve this error, I increased the FLASH space allocated for the MCUboot partition by adding CONFIG_PM_PARTITION_SIZE_MCUBOOT=0xd000 in my prj.conf file and build the code but getting the warning "warning: attempt to assign the value '0xd000' to the undefined symbol PM_PARTITION_SIZE_MCUBOOT" and error "error: Aborting due to Kconfig warnings".

Children
Related