Hi Jared,
I’m trying to compile the ‘external_flash’ from GitHUB sample but I get the following errors.
The version is for ncs 2.3.0
std=c99 -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles/app.dir/src/main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj -c ../src/main.c
In file included from /opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/storage/flash_map.h:261,
from /opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/fs/littlefs.h:12,
from /opt/nordic/Samples/external_flasj/src/main.c:15:
/opt/nordic/ncs/v2.3.0/nrf/include/flash_map_pm.h:41:22: error: 'PM_littlefs_storage_ID' undeclared here (not in a function); did you mean 'littlefs_storage'?
41 | #define PM_ID(label) PM_##label##_ID
| ^~~
/opt/nordic/ncs/v2.3.0/nrf/include/flash_map_pm.h:46:35: note: in expansion of macro 'PM_ID'
46 | #define FIXED_PARTITION_ID(label) PM_ID(label)
| ^~~~~
/opt/nordic/ncs/v2.3.0/nrf/include/flash_map_pm.h:47:30: note: in expansion of macro 'FIXED_PARTITION_ID'
47 | #define FLASH_AREA_ID(label) FIXED_PARTITION_ID(label)
| ^~~~~~~~~~~~~~~~~~
/opt/nordic/Samples/external_flasj/src/main.c:38:32: note: in expansion of macro 'FLASH_AREA_ID'
38 | .storage_dev = (void *)FLASH_AREA_ID(littlefs_storage),
| ^~~~~~~~~~~~~
Thank you
Babos