ModusCreateOrg / ModusCreateOrg/evade-arduboy-game
Evade is overwriting the 16 EEPROM bytes reserved for Arduboy2's settings
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 27
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating where Evade writes to EEPROM and read the Arduboy2 documentation for the EEPROM_STORAGE_SPACE_START macro. Update the EEPROM storage location so the first 16 bytes remain untouched, then verify that the game’s saved data uses space after those reserved bytes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100