pico-keys-sdk/src/usb
Pol Henarejos 11447371fe
Rewritten continuous flow for HID.
HID uses complete_cb to send the next packet and not the value returned by tud_write. Therefore, no other writes can happen in between of a writing packet if fails.

This ensures a proper interface multiplexing and continuous flow.

Also, the read pointer is used to multiplex usb packets.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2024-08-19 00:06:24 +02:00
..
ccid TinyUSB uses interface argument for that driver. Therefore, for vendord driver, interface starts at 0, even the HID interface is used. 2024-08-19 00:03:30 +02:00
emulation Fix Windows emulation build. 2024-01-09 11:43:47 +01:00
hid Rewritten continuous flow for HID. 2024-08-19 00:06:24 +02:00
tusb_config.h Second round to make it work for ESP32S3. 2024-04-08 16:47:16 +02:00
usb.c thread management is now in usb stuff. It ensures to launch an apdu/cbor thread depending on the processed packet. 2024-08-19 00:02:15 +02:00
usb.h Add usb.h declarations. 2024-08-19 00:02:32 +02:00
usb_descriptors.c BCD must be 2.0 for compatibility with windows. 2024-06-27 21:01:22 +02:00
usb_descriptors.h Rename project to Pico Keys SDK to avoid confusions with Pico Fido and Pico OpenPGP. 2023-11-06 13:32:28 +01:00