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

Support multiple RP2040 boards #46

Merged
merged 41 commits into from
Jun 5, 2024
Merged

Support multiple RP2040 boards #46

merged 41 commits into from
Jun 5, 2024

Conversation

zjwhitehead
Copy link
Member

@zjwhitehead zjwhitehead commented May 16, 2024

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:

  • Visit the config tool website.
  • Flash the .uf2 file.
  • The .uf2 file will only flash if compatible with your hardware, which can be verified on the config tool page.
    Testing and Compatibility:

Notes:

  • Thoroughly tested on M0, V1, and Module revisions.
  • No significant changes in external functionality; the module improves manufacturing and system reliability.
  • Feedback is welcome.

@zjwhitehead zjwhitehead marked this pull request as ready for review June 4, 2024 02:56
@zjwhitehead zjwhitehead merged commit a60c9c2 into master Jun 5, 2024
3 checks passed
@zjwhitehead zjwhitehead deleted the rp2040-module branch June 5, 2024 02:16
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

Successfully merging this pull request may close these issues.

None yet

1 participant