Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Store Hardware Config Version in EEPROM
This update adds the ability to store the hardware configuration version in EEPROM. Previously, firmware versions were determined at build time. With the new RP2040 module-based PCB, relying on the main chip to determine pinouts is no longer feasible.
We now support multiple configurations using the same MCU. The system reads pinouts during boot, setting up peripherals like the screen and barometer based on the loaded configuration. Supported hardware revisions are M0, V1, and Module. Differences in the RP2040 hardware include an RGB LED that indicates boot status and USB connection.
For users with the original RP2040 controller, the hardware revision will be detected and stored in EEPROM during the upgrade.
Upgrade Process:
Testing and Compatibility:
Notes: