nrf-hal icon indicating copy to clipboard operation
nrf-hal copied to clipboard

Update usb-device requirement from 0.2.7 to 0.3.2 in /examples/usb

Open dependabot[bot] opened this issue 1 year ago • 1 comments

Updates the requirements on usb-device to permit the latest version.

Release notes

Sourced from usb-device's releases.

v0.3.2

What's Changed

New Contributors

Full Changelog: https://github.com/rust-embedded-community/usb-device/compare/v0.3.1...v0.3.2

Changelog

Sourced from usb-device's changelog.

[0.3.2] - 2024-03-06

Added

  • A new log feature can be enabled to provide logging and tracing information about the USB interface.

Changed

  • [breaking] LangIDs no longer implement TryFromPrimitive. The minor version has not been bumped as this was not intended to be used in the public API.
    • If this is problematic, please open an issue in the main usb-device repository.
  • Changed handling of EP0 state to eliminate unexpected issues with device enumeration

[0.3.1] - 2023-11-15

Added

  • BuilderError, LangID, StringDescriptors now in prelude
  • LangID now in class_prelude

Changed

  • Updated documentation, including example code

[0.3.0] - 2023-11-13

Fixed

  • Fixed a defect where enumeration may fail due to timing-related issues (#128)

Added

  • New enums and allocators for Isochronous endpoints (#60).
  • Ability to select USB revision (#116).
  • Added support for alternate settings on interfaces (#114).
  • Added support for architectures without atomics (#115).
  • Added support for multi-language STRING desc (#122).
    • UsbDeviceBuilder has a public .extra_lang_ids() method to specify LANGIDs besides ENGLISH_US(0x0409)

Breaking

  • Acess numeric form of EndpointType variants now require a .to_bm_attributes(). (#60)
  • DescriptorWriter::iad() now requires a Option<StringIndex> to optionally specify a string for describing the function (#121)
  • .manufacturer(), .product() and .serial_number() of UsbDeviceBuilder are now replaced with the strings() function that accepts a StringDescriptor list to allow multilanguage support (#122)
  • Various methods of the UsbDeviceBuilder now return Result<> types instead of internally panicking.

Changed

  • EndpointType enum now has fields for isochronous synchronization and usage (#60).
  • descriptor_type::STRING of fn get_descriptor() will send the LANGIDs supported by device, and respond STRING Request with specified LANGID. (#122)
  • UsbError is now copyable and comparable (#127)

[0.2.9] - 2022-08-02

Added

  • Optional support for defmt (#76).

... (truncated)

Commits
  • 6a44a84 Merge pull request #146 from rust-embedded-community/release/0.3.2
  • bb4e9f1 Bumping release date
  • a158cfa Update CHANGELOG.md
  • 859eb37 Preparing for 0.3.2 release
  • af98f93 Merge pull request #143 from rust-embedded-community/feature/result-propagation
  • a4701c1 Merge pull request #145 from vitalyvb/langid-defmt
  • 2cc436f Restore deriving defmt::Format for LangID when defmt feature is enabled
  • beb6b9e Cleaning up more result propagation
  • c82290c Using proper log macro
  • deec99c Fixing log format
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

dependabot[bot] avatar Apr 18 '24 14:04 dependabot[bot]

This won't work until https://github.com/nrf-rs/nrf-usbd/pull/17 is released.

qwandor avatar Apr 18 '24 15:04 qwandor