For the nRF9160, exists there sample projects using littlefs on external flash memory? My flash is accessible via SPI.
I haven't seen a sample putting it all together for nRF9160, but it looks like Zephyr has support for both SPI_NOR and LITTLEFS...
There are some Zephyr samples for other boards down in zephyr/samples/subsys/fs/littlefs. Take a careful look at the prj.conf files in those directories. The config items you would be looking for are CONFIG_FILE_SYSTEM_LITTLEFS and CONFIG_SPI_NOR or things that look related. Adding support to a nrf9160 sample should be as simple as adding those lines to the prj.conf from a nrf9160 project.
THank you, will try, and keep you informed