FlashStorage
FlashStorage copied to clipboard
A convenient way to store data into Flash memory on the ATSAMD21 and ATSAMD51 processor family
I noticed that the Nano 33 BLE was marked as compatible when it isn't on the following page. https://www.arduino.cc/reference/en/libraries/flashstorage/
Is there a way to update only one value inside the struct object instead of updating them all? I've tried something like: ``` settings.saved = true; flashStore.write(settings.saved); ``` Getting error:...
See: https://github.com/cmaglie/FlashStorage/issues/44 First tests work. Maybe some more can test and give feedback?
Board: Wio Terminal IDE: Arduino 1.8.13 Compiler output: `FlashStorage.cpp: In member function void FlashClass::write(const volatile void*, const void*, uint32_t) FlashStorage.cpp: 55:22: error: 'volatile struct NVMCTRL_CTRLB_Type::' has no member named 'MANW...
We have some issues with the EEPROM lib ... The effects we see in a more complex program: We write >1,5k of data and finally do a commit(). This gives...
I normally associate EEPROM with 1-10K write cycles and flash with 50-100K. The quoted section in [this forum post](https://www.avrfreaks.net/comment/76585#comment-76585) seems to indicate 50K cycles: > Data Retention of Atmel's dataflash...
I tried to erase the content of flash but it doesn't work. Is this way to erase ? I use a Feather M0 Adalogger ``` #include FlashStorage(MyFlash, uint8_t *); void...
https://borkedlabs.com/blog/2018/02-03-sam-m0-eeprom-linker/
I noticed the following two declarations in EEPROM.cpp https://github.com/cmaglie/FlashStorage/blob/18c021255ca8b6962bbcdd9b1f60a6ed6f2311e0/src/FlashAsEEPROM.cpp#L24 https://github.com/cmaglie/FlashStorage/blob/18c021255ca8b6962bbcdd9b1f60a6ed6f2311e0/src/FlashAsEEPROM.cpp#L74 This allocates quite a bit of RAM (1K) when you are not using the EEPROM emulation. Would it be advantageous...
I've seen #11 and agree with it. When a value is written (EEPROMClass::update), _dirty is set, because a commit is required to make this change persistent. A commit only writes...