aboutsummaryrefslogtreecommitdiff
path: root/embassy-usb/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-061-1/+1
|
* Edition 2024.Dario Nieuwenhuis2025-10-061-0/+1
|
* doc: Fix "the the"Ronald Weber2025-02-191-2/+2
|
* forgot to expose UsbVersionsawyer bristol2024-12-021-1/+1
|
* feat(usb): add device qualifier descriptorHaobo Gu2024-08-151-0/+4
| | | | Signed-off-by: Haobo Gu <[email protected]>
* usb: remove device_descriptor buffer, store bytes in UsbDevice.inner insteadAdam Greig2024-03-231-6/+3
|
* usb: remove msos-descriptor feature.Dario Nieuwenhuis2023-11-081-17/+6
|
* usb: reject instead of panic on CONTROL OUT longer than the buf.Dario Nieuwenhuis2023-11-061-0/+10
|
* Apply Pedantic Clippy LintsRafael Bachmann2023-10-151-24/+17
|
* Fix clippyRafael Bachmann2023-10-151-8/+5
|
* usb: add missing builder reexports.Dario Nieuwenhuis2023-06-291-1/+1
| | | | | Fixes #1176 cc #1596
* Remove unused `feature(type_alias_impl_trait)`.Dario Nieuwenhuis2023-05-141-1/+0
|
* Add logging and interface for debugging buffer usageJames Munns2023-03-271-0/+37
|
* usb: unify ControlHandler+DeviceStateHandler, route all control requests to ↵Dario Nieuwenhuis2023-02-081-100/+143
| | | | | | | | all handlers. - Allows classes to handle vendor requests. - Allows classes to use a single handler for multiple interfaces. - Allows classes to access the other events (previously only `reset` was available).
* usb: make max interface count configurable at compile time.Dario Nieuwenhuis2023-02-081-3/+6
|
* Convert MS OS descriptor builder to a writer APIalexmoon2023-02-071-6/+8
| | | | | | This brings it inline with the other embassy-usb descriptor APIs and allows it to integrate well with the Builder to allow class constructors to add MS OS descriptors. Also adds a `usb_serial_winusb` example to demonstrate how to use the API.
* usb: add support for MS OS DescriptorsMatt Ickstadt2023-02-071-0/+17
|
* usb: docsDario Nieuwenhuis2023-01-311-1/+7
|
* Refactor embassy-usb address handling to allow reordering of status resoponsechemicstry2023-01-111-11/+12
|
* usb: move classes into the `embassy-usb` crate.Dario Nieuwenhuis2022-09-261-0/+1
|
* usb: split driver trait to separate crate.Dario Nieuwenhuis2022-09-261-9/+9
|
* usb: fix compile errors with the log featureAlex Martens2022-09-241-1/+1
|
* Update Rust nightly.Dario Nieuwenhuis2022-09-221-1/+0
| | | | Removes feature(generic_associated_types)
* futures: move select* and join* to separate modules.Dario Nieuwenhuis2022-08-291-1/+1
|
* split `embassy-util` into `embassy-futures`, `embassy-sync`.Dario Nieuwenhuis2022-08-221-1/+1
|
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-291-1/+1
|
* Build in a new Unpowered statehuntc2022-07-081-24/+21
| | | | Replaces the sub-state of representing being being available. Power states also now set enable/disable directly too, which simplifies code.
* Puts in the machinery to handle power detected/removedhuntc2022-07-071-3/+17
|
* Introduces EnabledUsbDevicehuntc2022-07-071-0/+1
| | | | EnabledUsbDevice is a wrapper around the UsbDevice where their enablement is also subject to external events, such as POWER events for nRF. It is introduced generically to support other platforms should they also require external signalling for enablement.
* Run rustfmt.Dario Nieuwenhuis2022-06-121-14/+7
|
* usb: make ControlPipe accept, reject async.Dario Nieuwenhuis2022-05-301-3/+3
|
* usb: add first, last params to ControlPipe data_in, data_out.Dario Nieuwenhuis2022-05-301-5/+18
|
* usb: delay bus.set_address() to after ending the control transfer.Dario Nieuwenhuis2022-05-301-7/+20
|
* usb: parse request in embassy-usb instead of the driver.Dario Nieuwenhuis2022-05-121-1/+3
|
* usb: merge `alloc_control_pipe` and `into_bus` into `start`.Dario Nieuwenhuis2022-05-101-7/+3
| | | | | This prevents calling `alloc_control_pipe` twice at compile time, which was always an error.
* usb: merge Control logic into main code.Dario Nieuwenhuis2022-05-091-45/+86
| | | | | Now that control stuff is called from just one place, there's no need to keep it as a separate struct.
* usb: simplify control in/out handlng, calling response from a single place.Dario Nieuwenhuis2022-05-091-122/+148
|
* usb: add support for custom string descriptors.Dario Nieuwenhuis2022-04-231-7/+33
|
* usb: builtin handling of interface alternate settingsDario Nieuwenhuis2022-04-231-57/+131
| | | | | | | | The stack reads its own descriptors to figure out which endpoints are used in which alt settings, and enables/disables them as needed. The ControlHandler has a callback so it can get notified of alternate setting changes, which is purely informative (it doesn't have to do anything).
* usb: rename UsbDeviceBuilder -> Builder.Dario Nieuwenhuis2022-04-161-1/+1
|
* Split UsbDevice::run into run and run_until_suspendalexmoon2022-04-131-48/+81
|
* Remove channel and make run future cancelablealexmoon2022-04-131-71/+69
|
* Use embassy::util::select3alexmoon2022-04-131-0/+1
|
* Make Driver::disable async and fix commentalexmoon2022-04-131-1/+1
|
* Remote wakeup bug fixesalexmoon2022-04-131-12/+18
|
* Add DeviceStateHandler, DeviceCommand channel, and remote wakeup supportalexmoon2022-04-131-17/+127
|
* Async-ify Driver::enable and UsbDeviceBuilder::buildalexmoon2022-04-071-4/+4
|
* usb: fix slow enumeration with EP0 max_packet_size of 8 or 16.Dario Nieuwenhuis2022-04-061-1/+14
|
* Add basic device state handling for endpoints.alexmoon2022-04-061-2/+5
|
* usb: log on reset, resume, suspendDario Nieuwenhuis2022-04-061-1/+5
|