ModusCreateOrg / ModusCreateOrg/evade-arduboy-game

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

Open
#150 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.