error: 'PM_mcuboot_secondary_ID' undeclared

I want to do BLE FOTA with my customborad, so I have added some configs of FOTA to my developping project.

those configs are referenced ”DevAcademy” Exercise 3 - FOTA over Bluetooth Low Energy - Nordic Developer Academy.

But this error has happened.

Actually my project has not defined pm_mcuboot_secondary.

I tried to define pm_mcuboot_secondary by adding the followings to overlay.


this is stated in DevAcademy Exercise 2 - DFU over USB, adding external flash & custom keys - Nordic Developer Academy 8.1
But pm_mcuboot_secondary are not defined!
The name of the flash memory is different from the Academy's, but I don't think that's relevant.

Please tell me how to solve this error.

I have single slot enabled in my project, maybe that has something to do with it?



Parents Reply Children
No Data
Related