Hello,
I would like to use littlefs on the nrf5340dk board with the OnBoard Flash. So I selected the Zephyr/samples/subsys/fs/littlefs sample Project with the nrf5340dk board. Unfortunately the sample Project contains only nrf52840dk_nrf52840 conf and overlay files. So I renamed them to nrf5340dk_nrf5340_cpuapp and everything compiled.
The Flash area seems to be existing as the Flash_area_open/close functions in the beginning of main.c work. But the rest, which is the real stuff I would like to use not.
fs_statvfs Reports an error as could not find a mount Point fs_mnt_list, which is even empty. According main.c it seems that it should have been automounted. But that seems not to be the case. When I therefore include a call of fs_mound(mp), the call is also not successfully. This function tries to get a Flash device, which is not existing. So that doesn't work either.
It seems that some configuration (in device tree or prj.conf) is missing.
Can someone help me to get a Project that uses the DK OnBoard Flash as file System?
BTW: I'm using nRF Connect SDK v1.9.0
Regards
Erwin