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
[X] CHANGELOG.md for the BSP or HAL updated
[X] All new or modified code is well documented, especially public items
[X] 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.
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#[allow]
certain lints where reasonable, but ideally justify those with a short comment.