Could someone explain me what does it mean: "Requires BMP file in root directory of QSPI Flash", and how to move .bmp or .jpg image from SD card to Flash. Since my image is only 10kb, I would like to put it on Flash. (Only using SD card to copy image, then I want to remove it)
I saw at least one person complaining that they could not get the SD library and the Adafruit_SPIFlash library to work at the same time in the same sketch. Maybe there is no way to transfer files from SD directly to SPIFlash.
A workaround might be to convert each file into a large byte array and then write a sketch to create a file on the SPIFlash and fill it from the byte array.
I am more likely struggle to find a way to put a file (only if the file is a text file) to the flash. I can successfully run this code, and get info of both Sd card and QSPI. I can put .bmp to RAM from SD card. Is it possible to put .bmp from RAM to flash?
I would copy the file one byte at a time. Open an SD file to read and a FLASH file to write. Read a byte from the read file and write the byte to the write file until there are no more bytes.