Clean up of Tier 1 BSP examples #935
Open
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.
Summary
This PR fixes a number of mostly really minor issues with Tier 1 BSP examples that exist in the current
master
branch.See the commit messages for details about which examples were changed.
Because of the current design of the
usb_device
crate, examples that use USB across numerous BSPs emit compiler warnings related to having to usestatic mut
variables. Fixing this is more substantial and possibly controversial so will be addressed in a future PR.To address a compiler error, the
feather_m0/adalogger
example had to be refactored after upgrading theembedded-sdmmc
dependency to the latest, incompatible version. If anyone has an Adalogger Feather M0 and can test this, please do so and report in a comment below.Checklist
#[allow]
certain lints where reasonable, but ideally justify those with a short comment.