I am using the external flash memory module and would like to deploy a file system over it. The original repo of this module (GitHub - adafruit/Adafruit_SPIFlash) has examples for that.
However , I am unable to use those examples for the flash memory module (RAK4631 + RAK5005). I don’t know if those examples should even work because they are meant for Adafruit’s M0 express board which is based on Atmega.
But the repo lists support for the Adafruit’s nRF52 arduino core on which RAK4631’s codebase is based.
The Adafruit library will work with the RAK15001.
We have a Quick Start Guide and example code using the Adafruit SPI Flash library.
Both the tutorial and the example are not using the file system, but it should be not difficult to adapt one of Adafruits examples.
The important point is that you have to tell the Adafruit library the details of the flash chip, which you can find in the example: