Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Pharap opened this issue Aug 5, 2020 · 1 comment
Open

Comments

@Pharap
Copy link

Pharap commented Aug 5, 2020

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

@ace-dent
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants