This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52840 - SPIFFS Driver

Hi All,

I am developing one project and in which i am using external SPI Flash memory of 128MB and for that as of now i am using spi driver for all operations (like read, write, erase).

But Now i want to implement FIle System and for that i need External SPI Flash memory File System Driver (SPIFFS). So how can i implement File System (SPIFFS) in external SPI Flash Memory ?

Thanks

Circuit Designers

Parents Reply Children
  • Ok, but the nrf_block_dev (Block device) contains other backends, such as qspi, empty and ram. The nrf_block_dev implements unified block device API, so it can be used as a middle layer between filesystems and memories. So with some modifications and coding, you can use it to build a file system for your specific SPI flash. The usbd_msc examples shows how some of the other nrf_block_dev instances can be used.

Related