I’m using nRF Connect SDK v2.8.0 and working on BLE OTA (DFU) for the nRF7002 DK. I followed the Nordic “DFU with external flash” exercise and integrated it into the Wi-Fi station example, but I’m encountering the following build error:
C:/ncs/v2.8.0/zephyr/subsys/dfu/img_util/flash_img.c: In function 'flash_img_init': C:/ncs/v2.8.0/nrf/include/flash_map_pm.h:47:22: error: 'PM_mcuboot_primary_ID' undeclared (first use in this function) 47 | #define PM_ID(label) PM_##label##_ID
Could you please suggest what might be missing?
Is there any configuration or file I need to add to fix this issue?
I’ve also attached my project ZIP file for reference.
