Releases: rust-embedded-community/usb-device
Releases · rust-embedded-community/usb-device
v0.3.2
What's Changed
- Update dependecies by @Sh3Rm4n in #136
- Update README.md by @misterinterrupt in #138
- Make LangID optional on get_string() by @jose-acevedoflores in #140
- Adding USB tracing, fixing further enumeration issues by @ryan-summers in #142
- Convert LangID from u16 enum to tuple struct containing u16 by @vitalyvb in #141
- Restore deriving defmt::Format for LangID when defmt feature is enabled by @vitalyvb in #145
- Handling
Result
s throughout the crate by @ryan-summers in #143 - Preparing for 0.3.2 release by @ryan-summers in #146
New Contributors
- @Sh3Rm4n made their first contribution in #136
- @misterinterrupt made their first contribution in #138
- @jose-acevedoflores made their first contribution in #140
- @vitalyvb made their first contribution in #141
Full Changelog: v0.3.1...v0.3.2
Release 0.3.1
[0.3.1] - 2023-11-15
Added
BuilderError
,LangID
,StringDescriptors
now inprelude
LangID
now inclass_prelude
Changed
- Updated documentation, including example code
Release 0.3.0
[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 aOption<StringIndex>
to optionally specify a string for describing the function (#121).manufacturer()
,.product()
and.serial_number()
ofUsbDeviceBuilder
are now replaced with thestrings()
function that accepts aStringDescriptor
list to allow multilanguage support (#122)- Various methods of the
UsbDeviceBuilder
now returnResult<>
types instead of internally panicking.