hey, I am using nrf52840 in that i am making it compatible with DFU by using sdk2.8, but getting this error
C:/ncs/v2.8.0/nrf/include/flash_map_pm.h:47:22: error: 'PM_mcuboot_secondary_ID' undeclared (first use in this function)
47 | #define PM_ID(label) PM_##label##_ID
| ^~~
C:/ncs/v2.8.0/nrf/include/flash_map_pm.h:52:35: note: in expansion of macro 'PM_ID'
52 | #define FIXED_PARTITION_ID(label) PM_ID(label)
| ^~~~~
C:/Code/SD_dimmer/SD-Dimmer/src/main.c:321:62: note: in expansion of macro 'FIXED_PARTITION_ID'
321 | err = bt_mesh_blob_io_flash_init(&blob_flash_stream, FIXED_PARTITION_ID(slot1_partition),
| ^~~~~~~~~~~~~~~~~~
C:/ncs/v2.8.0/nrf/include/flash_map_pm.h:47:22: note: each undeclared identifier is reported only once for each function it appears in
47 | #define PM_ID(label) PM_##label##_ID
| ^~~
C:/ncs/v2.8.0/nrf/include/flash_map_pm.h:52:35: note: in expansion of macro 'PM_ID'
52 | #define FIXED_PARTITION_ID(label) PM_ID(label)
where as I have created the pm_static.yml for my project which looks like this