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

Use flash-algorithm crate #19

Merged
merged 4 commits into from
Feb 18, 2024
Merged

Use flash-algorithm crate #19

merged 4 commits into from
Feb 18, 2024

Commits on Dec 8, 2023

  1. Now builds on stable.

    Tested working with probe-rs CLI. Slightly larger binary, but I can live with that for not having to use nightly rust.
    thejpster committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    d8b90c0 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2023

  1. Fail if ROM funcs are missing.

    Belt-and-braces in case we ever get a different RP2040 ROM with missing functions.
    
    Also use constants for the ROM addresses.
    thejpster committed Dec 9, 2023
    Configuration menu
    Copy the full SHA
    35fd979 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1d215be View commit details
    Browse the repository at this point in the history
  3. Use the flash_algorithm crate.

    I wasn't sure what the error code should be for ROM Func load failure.
    thejpster committed Dec 9, 2023
    Configuration menu
    Copy the full SHA
    e7225ac View commit details
    Browse the repository at this point in the history