FlashStorage
FlashStorage copied to clipboard
A convenient way to store data into Flash memory on the ATSAMD21 and ATSAMD51 processor family
@cmaglie would it be possible to use this as a basis for a library to read/write internal flash on the new Nano 33 BLE boards? I've got a project where...
Is there a way to persist data when uploading new sketch? The README says: > The content of the FlashStorage is erased each time a new sketch is uploaded? >...
Can crash ? Cpu is ARM SAMD and has 32KB of RAM ``` #include Tbb Timer; FlashStorage(Tim, Tbb); Timer = Tim.read(); typedef struct { byte L_on1_H; byte L_on1_M; byte L_of1_H;...
Write read 16 bit ? Not 8 bit as AVR. EEPROM.write(i, 100+i); EEPROM.read(i)
Hi! I try to port some code form an Arduino Nano to an Feather M0 Cortex. I run into a problem with the get and put function. Is it not...
I need to store a struct made of an array of other struct, something like this: ``` typedef struct { boolean valid; char label[20]; char name[20]; } A; typedef struct...
The way I understand the library, is that the storage is limited to the size of the RAM since one have to first declare the variable in RAM. Is that...
Could you add a getDataPtr method that returns _eeprom.data to the FlashAsEEPROM class? This would make the lib more compatible to the esp8266 EEPROM class. See https://github.com/esp8266/Arduino/blob/f77645465c25f07ded11091a39bad25ef1ec8c1d/libraries/EEPROM/EEPROM.cpp#L135
I cannot quite pinpoint it to either one, but when a string is either initilized, written, or read from a XIAO's flash memory, the next time it is power cycled,...
Hi Cristian. Very useful library. I was doing some testing with an instance of FlashClass larger than 8192 bytes (ROW_SIZE), and I found an issue. My store was 65536 bytes,...