| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Rustfmt for edition 2024. | Dario Nieuwenhuis | 2025-10-06 | 1 | -3/+6 |
| | | |||||
| * | make usb endpoint allocator methods accept an optional EndpointAddress | korbin | 2025-07-13 | 1 | -10/+37 |
| | | |||||
| * | Logging: Make some things less chatty | Dion Dokter | 2025-04-25 | 1 | -4/+4 |
| | | |||||
| * | Update default docs for device class fields | Eekle | 2024-12-24 | 1 | -3/+6 |
| | | |||||
| * | Default USB to use composite_with_iads, which "just works" in most cases | Eekle | 2024-12-24 | 1 | -5/+8 |
| | | |||||
| * | add docs for usb version variants | sawyer bristol | 2024-12-03 | 1 | -0/+2 |
| | | |||||
| * | rename BcdUsbVersion -> UsbVersion | sawyer bristol | 2024-12-02 | 1 | -3/+3 |
| | | |||||
| * | add fmt | sawyer bristol | 2024-12-02 | 1 | -0/+2 |
| | | |||||
| * | add named bcd versions | sawyer bristol | 2024-12-02 | 1 | -2/+9 |
| | | |||||
| * | bcd default to 2.1 | sawyer bristol | 2024-12-02 | 1 | -2/+2 |
| | | |||||
| * | custom bcd usb version | sawyer bristol | 2024-11-29 | 1 | -0/+6 |
| | | |||||
| * | feat(usb): make use of ISO endpoint support | elagil | 2024-09-05 | 1 | -15/+125 |
| | | |||||
| * | feature: WebUSB capability implementation | Chris Maniewski | 2024-04-27 | 1 | -0/+5 |
| | | | | | | | | This adds the WebUSB implementation as per https://wicg.github.io/webusb/, using one in-endpoint and one out-endpoint as well as an example for the RP2040 to illustrate this capability. | ||||
| * | USB: fix comments about the config.max_packet_size_0 field | Adam Simpkins | 2024-04-09 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | Fix the comment about the default value: this defaults to 64 rather than 8 bytes. It seems like the max packet size for endpoint 0 should normally be selected automatically, rather than being part of the config. At best it seems like this setting should just be a hint that gets used if when the bus is operating at full speed. The contents of the device descriptor should ideally be updated with the correct max packet size after bus enumeration completes. In practice always using 64 is probably fine if low speed environments never need to be supported. (Super speed requires a max packet size of 512 bytes, which I didn't list in the comments here.) | ||||
| * | usb: remove device_descriptor buffer, store bytes in UsbDevice.inner instead | Adam Greig | 2024-03-23 | 1 | -7/+0 |
| | | |||||
| * | usb: remove msos-descriptor feature. | Dario Nieuwenhuis | 2023-11-08 | 1 | -16/+2 |
| | | |||||
| * | Apply Pedantic Clippy Lints | Rafael Bachmann | 2023-10-15 | 1 | -22/+20 |
| | | |||||
| * | Constify Config::new | Rafael Bachmann | 2023-10-15 | 1 | -1/+1 |
| | | |||||
| * | Address review comments | James Munns | 2023-03-27 | 1 | -9/+1 |
| | | |||||
| * | Correct copy/paste errors | James Munns | 2023-03-27 | 1 | -4/+6 |
| | | |||||
| * | Add logging and interface for debugging buffer usage | James Munns | 2023-03-27 | 1 | -0/+14 |
| | | |||||
| * | usb: use InterfaceNumber in msos. | Dario Nieuwenhuis | 2023-02-08 | 1 | -1/+1 |
| | | |||||
| * | usb: unify ControlHandler+DeviceStateHandler, route all control requests to ↵ | Dario Nieuwenhuis | 2023-02-08 | 1 | -18/+27 |
| | | | | | | | | | 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 Nieuwenhuis | 2023-02-08 | 1 | -1/+4 |
| | | |||||
| * | Convert MS OS descriptor builder to a writer API | alexmoon | 2023-02-07 | 1 | -17/+61 |
| | | | | | | | 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 Descriptors | Matt Ickstadt | 2023-02-07 | 1 | -0/+15 |
| | | |||||
| * | Merge #1151 | bors[bot] | 2023-02-01 | 1 | -4/+15 |
| |\ | | | | | | | | | | | | | | | 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 settings | Matt Ickstadt | 2023-01-13 | 1 | -4/+15 |
| | | | |||||
| * | | usb: docs | Dario Nieuwenhuis | 2023-01-31 | 1 | -12/+12 |
| | | | |||||
| * | | usb: allow adding isochronous endpoints | nitroxis | 2023-01-27 | 1 | -0/+13 |
| |/ | |||||
| * | usb: split driver trait to separate crate. | Dario Nieuwenhuis | 2022-09-26 | 1 | -6/+5 |
| | | |||||
| * | nRF documentation warning fixes | Ulf Lilleengen | 2022-08-22 | 1 | -0/+2 |
| | | |||||
| * | Run rustfmt. | Dario Nieuwenhuis | 2022-06-12 | 1 | -43/+11 |
| | | |||||
| * | usb: set default max_packet_size_0 to 64. | Dario Nieuwenhuis | 2022-05-31 | 1 | -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: remove address arg from endpoint allocation. | Dario Nieuwenhuis | 2022-05-09 | 1 | -8/+6 |
| | | |||||
| * | usb: add support for custom string descriptors. | Dario Nieuwenhuis | 2022-04-23 | 1 | -10/+12 |
| | | |||||
| * | usb: set the interface handler in InterfaceBuilder. | Dario Nieuwenhuis | 2022-04-23 | 1 | -5/+6 |
| | | |||||
| * | usb: builtin handling of interface alternate settings | Dario Nieuwenhuis | 2022-04-23 | 1 | -10/+13 |
| | | | | | | | | | 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: improved descriptor building API | Dario Nieuwenhuis | 2022-04-16 | 1 | -142/+183 |
| | | | | | | | | The same API call allocates interfaces/endpoints/etc and writes their descriptors. This means less API calls, and less possibility to screw things up. DescriptorWriter is now private. | ||||
| * | usb: rename UsbDeviceBuilder -> Builder. | Dario Nieuwenhuis | 2022-04-16 | 1 | -3/+3 |
| | | |||||
| * | Remove channel and make run future cancelable | alexmoon | 2022-04-13 | 1 | -68/+3 |
| | | |||||
| * | Add DeviceStateHandler, DeviceCommand channel, and remote wakeup support | alexmoon | 2022-04-13 | 1 | -4/+73 |
| | | |||||
| * | Async-ify Driver::enable and UsbDeviceBuilder::build | alexmoon | 2022-04-07 | 1 | -8/+9 |
| | | |||||
| * | usb: cleanup and simplify error handling. | Dario Nieuwenhuis | 2022-04-06 | 1 | -3/+3 |
| | | |||||
| * | Add a control_buf to UsbDevice | alexmoon | 2022-04-06 | 1 | -0/+14 |
| | | |||||
| * | usb: move all control-related stuff to `mod control`. | Dario Nieuwenhuis | 2022-04-06 | 1 | -1/+1 |
| | | |||||
| * | usb: associate ControlHandlers with interfaces, automatically route requests. | Dario Nieuwenhuis | 2022-04-06 | 1 | -11/+21 |
| | | |||||
| * | usb: add `add_class` to builder, so that `FooBarClass::new(&mut builder)` ↵ | Dario Nieuwenhuis | 2022-04-06 | 1 | -2/+13 |
| | | | | | can set up everything. | ||||
| * | Use trait objects instead of generics for UsbDevice::classes | alexmoon | 2022-04-06 | 1 | -4/+1 |
| | | |||||
| * | Add support for USB classes handling control requests. | alexmoon | 2022-04-06 | 1 | -4/+10 |
| | | |||||
