5daa173ce4
Split embassy-time from embassy-executor.
2022-08-18 01:22:30 +02:00
fc6e1e06b3
Remove HAL initialization from #[embassy::main] macro.
2022-08-17 22:16:46 +02:00
a0f1b0ee01
Split embassy crate into embassy-executor, embassy-util.
2022-07-29 23:40:36 +02:00
8785fbc6f1
Trait for UsbSupply
...
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.
2022-07-09 17:57:31 +10:00
a8703b7598
Run rustfmt.
2022-06-12 22:22:31 +02:00
30d4d0e9d7
Merge #763 #766
...
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 <dirbaio@dirbaio.net >
Co-authored-by: Timo Kröger <timo.kroeger@hitachienergy.com >
2022-05-12 13:04:29 +00:00
2a7afe4262
Make usb_serial examples work on windows
...
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
2022-05-12 08:05:13 +02:00
2e104170de
usb: remove address arg from endpoint allocation.
2022-05-09 02:07:48 +02:00
d409026b95
examples/nrf: add product strings to all usb examples.
2022-04-24 22:46:45 +02:00
1bf7b4d6c3
usb: rename UsbDeviceBuilder -> Builder.
2022-04-16 04:14:20 +02:00
f5656e3544
Add DeviceStateHandler, DeviceCommand channel, and remote wakeup support
2022-04-13 14:55:02 -04:00
e867364d42
Unify ReadError and WriteError into EndpointError
2022-04-09 01:48:17 +02:00
6abbfa9a92
Async-ify Driver::enable and UsbDeviceBuilder::build
2022-04-07 10:51:26 -04:00
b2e517bb28
usb/serial: add multitask example.
2022-04-06 05:38:11 +02:00