aboutsummaryrefslogtreecommitdiff
path: root/embassy-usb/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix hardcoded buffer length in USB NCM causing broken link on USB 2.0.Isaikin Roman2023-08-201-8/+13
|
* Fixed the final null terminator for RegMultiSz.Lukas Joeressen2023-08-181-1/+1
| | | | The RegMultiSz value should be terminated by an empty UTF-16 string, i.e. 2 null bytes.
* Introduce driver::HardwareAddress without smoltcp dependencyRuben De Smet2023-07-311-1/+4
|
* Release embassy-net v0.1Dario Nieuwenhuis2023-06-291-2/+3
|
* usb: add missing builder reexports.Dario Nieuwenhuis2023-06-292-3/+3
| | | | | Fixes #1176 cc #1596
* Remove unused `feature(type_alias_impl_trait)`.Dario Nieuwenhuis2023-05-141-1/+0
|
* Fix some typosDirk Stolle2023-05-083-4/+4
|
* Address review commentsJames Munns2023-03-272-11/+3
|
* Correct copy/paste errorsJames Munns2023-03-271-4/+6
|
* Add logging and interface for debugging buffer usageJames Munns2023-03-274-0/+59
|
* embassy_usb: Add split() for cdc_acmLasse Dalegaard2023-03-041-0/+100
|
* usb: use InterfaceNumber in msos.Dario Nieuwenhuis2023-02-083-4/+7
|
* usb: unify ControlHandler+DeviceStateHandler, route all control requests to ↵Dario Nieuwenhuis2023-02-088-306/+356
| | | | | | | | 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-082-4/+10
|
* Lazily encode UTF16 values and add docsalexmoon2023-02-071-160/+156
|
* Convert MS OS descriptor builder to a writer APIalexmoon2023-02-073-263/+306
| | | | | | 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: remove msos dead codeMatt Ickstadt2023-02-071-13/+0
|
* usb: fix descriptor set length and DeviceInterfaceGUIDsMatt Ickstadt2023-02-071-5/+5
|
* usb: add support for MS OS DescriptorsMatt Ickstadt2023-02-073-0/+778
|
* Merge #1151bors[bot]2023-02-014-10/+21
|\ | | | | | | | | | | | | | | 1151: USB: allow setting the interface string for interface alt settings r=Dirbaio a=mattico This is a breaking change to embassy-usb's API. Co-authored-by: Matt Ickstadt <[email protected]>
| * usb: allow setting the interface string for interface alt settingsMatt Ickstadt2023-01-134-10/+21
| |
* | usb: docsDario Nieuwenhuis2023-01-3110-30/+108
| |
* | usb: allow adding isochronous endpointsnitroxis2023-01-271-0/+13
|/
* Refactor embassy-usb address handling to allow reordering of status resoponsechemicstry2023-01-111-11/+12
|
* Merge #1130bors[bot]2023-01-021-10/+4
|\ | | | | | | | | | | | | | | | | | | | | 1130: USB serial (CDC-ACM) improvements r=Dirbaio a=timokroeger * Remove unused call management descriptor * Set flag for supported capabilities The rp `usb_serial` example still works with windows hosts. Co-authored-by: Timo Kröger <[email protected]>
| * usb cdc-acm: Set flag for supported capabilitiesTimo Kröger2022-12-261-1/+4
| |
| * usb cdc-acm: Remove unused call management descriptorTimo Kröger2022-12-261-9/+0
| |
* | net/chan: split state runner.Dario Nieuwenhuis2022-12-271-3/+3
| |
* | net: split channel-based driver impl from usb cdc-ncm into a separate crate.Dario Nieuwenhuis2022-12-261-384/+24
| |
* | net: split driver trait to a separate crate.Dario Nieuwenhuis2022-12-262-8/+7
|/
* usb/cdc-ncm: add embassy-net Device implementation.Dario Nieuwenhuis2022-12-132-0/+467
|
* Drive-by documentation link fixesGabriel Smith2022-11-271-1/+1
|
* usb: move classes into the `embassy-usb` crate.Dario Nieuwenhuis2022-09-265-0/+1340
|
* usb: do not allow converting Directon to/from u8Dario Nieuwenhuis2022-09-261-1/+1
|
* usb: split driver trait to separate crate.Dario Nieuwenhuis2022-09-267-358/+22
|
* 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
|
* nRF documentation warning fixesUlf Lilleengen2022-08-223-4/+7
|
* 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-073-71/+23
|
* Introduces EnabledUsbDevicehuntc2022-07-072-0/+69
| | | | 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-124-71/+23
|
* usb: set default max_packet_size_0 to 64.Dario Nieuwenhuis2022-05-311-1/+1
| | | | | Supported chips can always do 64 bytes, 8 bytes seems to be more rare. We can add a way for the driver to specify the default in the future.
* usb: make ControlPipe accept, reject async.Dario Nieuwenhuis2022-05-302-5/+11
|
* usb: add first, last params to ControlPipe data_in, data_out.Dario Nieuwenhuis2022-05-302-7/+26
|
* usb: remove is_stalled, set_stalled from Endpoint.Dario Nieuwenhuis2022-05-301-9/+0
| | | | | They're unused, and I believe it's not allowed for classes to stall EPs on their own?
* usb: delay bus.set_address() to after ending the control transfer.Dario Nieuwenhuis2022-05-301-7/+20
|