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

Update usb-device #718

Merged
merged 2 commits into from
Feb 1, 2024
Merged

Update usb-device #718

merged 2 commits into from
Feb 1, 2024

Conversation

ianrrees
Copy link
Contributor

Summary

The usb-device crate is used by both the HAL and USB Class crates, to create a USB Device. The same version of usb-device needs to be used for all the dependencies of a firmware, which can lead to difficulty for instance if a required USB Class crate hasn't been updated.

This PR updates usb-device to the latest released version. This is a breaking change for both usb-device and our HAL.

This commit updates our tier 1 BSPs only.

(when we cut the usb-device 0.3.0 release, we forgot to include a new type in the prelude, which made it somewhat annoying to use - hence the 0.2 -> 0.3.1)

Checklist

  • CHANGELOG.md for the BSP or HAL updated
  • 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.

@sajattack
Copy link
Member

Looks like rustfmt is mad about the isochronous whitespace but otherwise LGTM

The usb-device upgrade is a breaking change for both usb-device and our
HAL.  This commit updates our tier 1 BSPs only.
@sajattack sajattack merged commit d46b635 into atsamd-rs:master Feb 1, 2024
107 checks passed
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.

2 participants