Open stellar-aria opened 1 year ago
Hi @stellar-aria
Thanks for another stellar (pardon the pun) PR. Quickly looking through everything I think everything looks good. So exciting to see some of the oldest bits of the library catching up with the times.
There are a few more in-progress PRs that will get wrapped up/merged within the next week (MIDI fixes, the ADC speed feature, etc.) as part of a new minor release. Once that's out, I think this would be a good first step toward the larger-scope cleanup including the HAL update in #582, etc. that we'd been discussing.
I'll keep you updated if we find anything here that needs changing, but unless anything got missed, or there are any typos, I think this might just be good to go.
Just merging in the upstream changes to make sure everything integrates cleanly. Had to do some conflict resolution to get everything to mesh smoothly.
This now matches up with the latest master and should be a clean merge.
@stellar-aria thanks for syncing this up! We're starting this week on review/testing on this one (should go a lot faster than the HAL stuff).
We'll keep you posted if anything comes up.
Made some changes:
Other than the stuff I edited, I went through and tested that everything works as intended. I'm ready to sign off! :shipit:
This continues the work started in #581, updating references to
dsy_gpio_pin
anddsy_gpio
to instead use the new C++ style GPIO and Pin classes.As per the discussion with @stephenhensley, this is a breaking change for board header files (their GPIO variables are now updated), but does not include any of the commits removing the now-obsolete, deprecated code. As such, the API as a whole remains largely unaltered. The commits dealing with code removal will be submitted in a future PR once the documentation work discussed has been completed and preparations begin for a new major revision.
Minor breaking API changes:
DaisySeed, DaisyPatch, daisy::patch_sm, and DaisyField now use
GPIO
instead ofdsy_gpio
.