Skip to content

Clean up of Tier 1 BSP examples#935

Open
kyp44 wants to merge 5 commits into
atsamd-rs:masterfrom
kyp44:tier1-bsp-cleanup
Open

Clean up of Tier 1 BSP examples#935
kyp44 wants to merge 5 commits into
atsamd-rs:masterfrom
kyp44:tier1-bsp-cleanup

Conversation

@kyp44
Copy link
Copy Markdown
Contributor

@kyp44 kyp44 commented Aug 22, 2025

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 use static 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 the embedded-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

  • All new or modified code is well documented, especially public items
  • No new warnings or clippy suggestions have been introduced - CI will deny clippy warnings by default! You may #[allow] certain lints where reasonable, but ideally justify those with a short comment.

…HAL to support refactoring the `feather_m0/adalogger` example.
* For the `adalogger` example, fixes a compiler error by upgrading the `embedded-sdmmc` dependency and migrating to the new API.
* Fixes a minor compiler error in the `adc` example when the `use_semihosting` feature is enabled.
* Fixes a minor compiler warning in the `async_adc` example.
* Fixes a minor compiler warning in the `adc` example.
* Fixes a minor compiler warning in the `async_adc` example.
@kyp44 kyp44 force-pushed the tier1-bsp-cleanup branch from 9e2d2ae to f07642c Compare November 24, 2025 15:25
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.

1 participant