XIAO store data in QSPI flash memory

Hi,
I struggled for hours to find out how to write data to the flash memory. The subject itself is not well documented, there are several libraries its not clear which one to use. Some of them seem to write in the MCU internal flash…
Finally I get some success with Adafruit_SPIFlash.

I reworked their sample flash_speedtest and adapt it to this board. Here is a link to my gitlab repository.

You’ll see that it’s not so complicated, it’s mostly a lack of documentation.

@user1203 I think that your question is out of the scope of that thread.