evade-arduboy-game icon indicating copy to clipboard operation
evade-arduboy-game copied to clipboard

Evade is overwriting the 16 EEPROM bytes reserved for Arduboy2's settings

Open Pharap opened this issue 5 years ago • 1 comments

The first 16 bytes of EEPROM are reserved by the Arduboy2 library for user settings. Evade is overwriting those first 16 bytes which causes a problem for users. Could someone please patch the code so that it avoids overwriting those 16 bytes?

The Arduboy2 library provides the EEPROM_STORAGE_SPACE_START macro specifically for this purpose: https://mlxxxp.github.io/documents/Arduino/libraries/Arduboy2/Doxygen/html/Arduboy2_8h.html#adce5e39a6d5c9593a2119fb55d32976f

Pharap avatar Aug 05 '20 10:08 Pharap

Just a little nudge ~

Unfortunately the EEPROM used overwrites the first 16 bytes, which is system reserved. There's a lot of info available on EEPROM usage (and collisions!) here. You might also want to look at the latest developments in extending support for the 'Arduboy2' library.

ace-dent avatar Sep 11 '22 22:09 ace-dent