aboutsummaryrefslogtreecommitdiff
path: root/examples/nrf/src/bin/usb_serial.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename examples/nrf to examples/nrf52840Dominik Boehi2023-01-091-110/+0
|
* usb: move classes into the `embassy-usb` crate.Dario Nieuwenhuis2022-09-261-1/+1
|
* Replace futures::future::join -> embassy_futures::join::join.Dario Nieuwenhuis2022-09-221-1/+1
|
* Update Rust nightly.Dario Nieuwenhuis2022-09-221-1/+0
| | | | Removes feature(generic_associated_types)
* Split embassy-time from embassy-executor.Dario Nieuwenhuis2022-08-181-1/+1
|
* Remove HAL initialization from #[embassy::main] macro.Dario Nieuwenhuis2022-08-171-2/+3
|
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-291-2/+2
|
* Trait for UsbSupplyhuntc2022-07-091-3/+5
| | | | Eliminated a signal by using a simpler trait method that returns whether VBus power is available. Also includes a UsbSupply that can be signalled for use with the nRF softdevice. Includes the requirement for waiting for power to become available.
* Puts in the machinery to handle power detected/removedhuntc2022-07-071-33/+5
|
* Introduces EnabledUsbDevicehuntc2022-07-071-7/+31
| | | | 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-9/+4
|
*-. Merge #763 #766bors[bot]2022-05-121-1/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 763: Misc USB improvements r=Dirbaio a=Dirbaio The "simplify control in/out handlng" commit gives a -2kb code size improvement. 766: Make usb_serial examples work on windows r=Dirbaio a=timokroeger Windows shows `error 10` when using CDC ACM on non composite devices. Workaround is to use IADS: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/kconfig/CONFIG_CDC_ACM_IAD.html#help Co-authored-by: Dario Nieuwenhuis <[email protected]> Co-authored-by: Timo Kröger <[email protected]>
| | * Make usb_serial examples work on windowsTimo Kröger2022-05-121-0/+7
| |/ |/| | | | | | | | | Windows shows `error 10` when using CDC ACM on non composite devices. Workaround is to use IADS: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/kconfig/CONFIG_CDC_ACM_IAD.html#help
| * usb: remove address arg from endpoint allocation.Dario Nieuwenhuis2022-05-091-1/+1
|/
* examples/nrf: add product strings to all usb examples.Dario Nieuwenhuis2022-04-241-1/+6
|
* usb: rename UsbDeviceBuilder -> Builder.Dario Nieuwenhuis2022-04-161-2/+2
|
* Add DeviceStateHandler, DeviceCommand channel, and remote wakeup supportalexmoon2022-04-131-1/+2
|
* Unify ReadError and WriteError into EndpointErroralexmoon2022-04-091-14/+5
|
* Async-ify Driver::enable and UsbDeviceBuilder::buildalexmoon2022-04-071-1/+1
|
* Add basic device state handling for endpoints.alexmoon2022-04-061-7/+39
|
* usb-serial: make inner guts private.Dario Nieuwenhuis2022-04-061-17/+7
|
* usb: add -usb-serial crate, fix warnings and stable build.Dario Nieuwenhuis2022-04-061-0/+91