Commit graph

11 commits

Author SHA1 Message Date
Jomer.Dev
16ed0b1e37 Move usb clas loop to private function
Move const to the outside of the logger
2024-02-12 19:01:22 +01:00
Jomer.Dev
2c6b475f4e Fix formatting 2024-01-08 00:39:32 +01:00
Jomer.Dev
03bf72f690 Better explanation 2024-01-08 00:24:15 +01:00
Jomer.Dev
f0c7504229 Fix log messages not always showing up straight away 2024-01-08 00:21:22 +01:00
Jomer.Dev
1f57692d04 Add function to create logger from class 2024-01-08 00:20:40 +01:00
Dario Nieuwenhuis
0b015bd727 usb: remove msos-descriptor feature. 2023-11-08 23:21:52 +01:00
kalkyl
db4cd73894 rp: Add USB raw example + msos descriptor to examples and usb-logger 2023-11-07 09:05:10 +01:00
Dave Hylands
8b837fae07 Make usb-logger read and discard input data
This allows normal linux terminal emulators, like screen or picocom
to be used with the usb_logger. Without this, calling `tcsetattr` with
`TCSAFLUSH` will hang.
2023-08-06 13:08:08 -07:00
Dario Nieuwenhuis
8d5f995a01 usb-logger: fix breakage in log 0.4.19
https://github.com/rust-lang/log/issues/567
2023-06-12 16:37:36 +02:00
Dario Nieuwenhuis
3af991ab63 usb: unify ControlHandler+DeviceStateHandler, route all control requests to 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).
2023-02-08 00:17:08 +01:00
Ulf Lilleengen
a444a65ebf feat: embassy-usb-logger and example for rpi pico
* Add embassy-usb-logger which allows logging over USB for any device
  implementing embassy-usb
* Add example using logger for rpi pico.
2022-11-18 11:22:58 +01:00