I am trying to create a partition on my external flash using littlefs
Here is the line that is returning me an error
Here is the error I am receiving
r/src/main.c.obj -MF CMakeFiles/app.dir/src/main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj -c project/app/src/main.c In file included from /home/marlon/ncs/v2.6.0/zephyr/include/zephyr/storage/flash_map.h:275, from /home/marlon/ncs/v2.6.0/zephyr/include/zephyr/fs/littlefs.h:12, from project/app/src/main.c:344: /home/marlon/ncs/v2.6.0/nrf/include/flash_map_pm.h:43:22: error: 'PM_storage_log_ID' undeclared here (not in a function) 43 | #define PM_ID(label) PM_##label##_ID | ^~~ /home/marlon/ncs/v2.6.0/nrf/include/flash_map_pm.h:43:22: note: in definition of macro 'PM_ID' 43 | #define PM_ID(label) PM_##label##_ID | ^~~ /home/marlon/ncs/v2.6.0/nrf/include/flash_map_pm.h:49:30: note: in expansion of macro 'FIXED_PARTITION_ID' 49 | #define FLASH_AREA_ID(label) FIXED_PARTITION_ID(label) | ^~~~~~~~~~~~~~~~~~ project/app/src/main.c:366:28: note: in expansion of macro 'FLASH_AREA_ID' 366 | .storage_dev = (void *)FLASH_AREA_ID(storage_log), | ^~~~~~~~~~~~~ project/app/src/main.c:362:26: warning: 'lfs_storage_mnt' defined but not used [-Wunused-variable] 362 | static struct fs_mount_t lfs_storage_mnt = { | ^~~~~~~~~~~~~~~
WHen hovering over FLASH_AREA_ID, I have this message
Expands to:
(I have basically the same error if I use FIXED_PARTITION_ID)
This is the relevant part of my dts
and this is the relevant part on my pm_static.yml