Save image on the embedded flash with Nicla Vision

Hi everyone !
I'am looking for a way to store jpeg on the embedded flash of my arduino Nicla Vision with C code.
I did it in micropython and it worked well but to use others peripherals, the libraries are better and quicker in C++.

I found many informations about how to get raw bytes from the camera sensor with the arduino Nicla. But to store them on the embedded SPI flash memory AT25QL128-UUE-T I can't find anything. Nor post or tutorial except for the arduino portenta H7 that use an SD storage but with gray scale image.

Please, does anyone know a way to use the flash storage in C with the arduino Nicla Vision ?
Thank you very much for your help.

Hi!

Thank you for your message.

You can try the Mbed APIs and the similar tutorial available for H7 as guide:

https://os.mbed.com/docs/mbed-os/v6.9/apis/flashiapblockdevice.html

https://os.mbed.com/docs/mbed-os/v6.15/apis/file.html
https://os.mbed.com/docs/mbed-os/v6.15/apis/filesystem.html