Commit Graph
12 Commits
Author SHA1 Message Date
Saurabh Kumar Bansal 6f7a6b1eea usb: update usb device msc example by adding new API tinyusb_msc_register_callback 2023-05-22 12:00:44 +05:30
Saurabh Kumar Bansal 2fb3681ad2 Merge branch 'feature/usb_composite_device_support' into 'master'
usbd: add usb composite device example

Closes IDFGH-9035

See merge request espressif/esp-idf!23135
2023-04-25 16:34:45 +08:00
Saurabh Kumar Bansal 7cc59918bc usbd: add usb composite device example 2023-04-19 14:02:33 +05:30
Saurabh Kumar Bansal 8cf6325491 Merge branch 'feature/usb_msc_device_driver' into 'master'
usb: modify example according to newly implemented USB MSC Device class driver

Closes IDF-1600

See merge request espressif/esp-idf!22727
2023-04-06 14:30:39 +08:00
Saurabh Kumar Bansal 55914d0c12 usb: modify example according to newly implemented usbd msc driver 2023-04-04 17:48:20 +00:00
Saurabh Kumar Bansal 770961d2b8 Merge branch 'bugfix/usb_host_hub_enumeration_string_handling' into 'master'
USB Host: Fix string descriptor handling by the hub driver during enumeration

See merge request espressif/esp-idf!21193
2023-02-09 13:56:48 +08:00
Saurabh Kumar Bansal 7010349a9a usb_host: Hub driver skips fetching string descriptors if their index is 0
When a USB does not support a particular string dsecriptor (e.g.,
manufacturer, product, and serial number), the string descriptors corresponding
index will be set to 0 in the device descriptor (e.g., iManufacturer, iProduct,
iString).

Previously, the Hub driver would always attempt to fetch the all three string
descriptors, thus leading an error in CHECK_SHORT_SER_STR_DESC if the device
did not support the descriptor.

This commit fixes the Hub drvier by skipping the enumeration stages of a
particular descriptor if its index is 0 (i.e., not supported by the device).
2023-02-08 23:12:54 +05:30
Saurabh Kumar Bansal 490f9ebd50 Merge branch 'feature/usb_device_msc_sdcard' into 'master'
USB Dev: Integrate SD MMC Card as a storage media that is accessed by USB-host as a USB Mass Storage Device

Closes IDF-6545 and IDFGH-9040

See merge request espressif/esp-idf!21679
2023-01-18 01:16:21 +08:00
Saurabh Kumar Bansal ff8b78227a Fix typo in comparison 2023-01-13 20:12:40 +05:30
Saurabh Kumar Bansal 80cad41cc2 USB Dev: Integrate sdcard as a storage media that is accessed by USB-host as a USB Mass Storage Device 2023-01-13 20:12:29 +05:30
Saurabh Kumar Bansal a9e40f6045 Merge branch 'usb_msc' into 'master'
usb: Add MSC device Example

Closes IDF-580

See merge request espressif/esp-idf!20881
2022-12-04 14:02:47 +08:00
Saurabh Kumar Bansal fac23b90ae USB: Add MSC example. 2022-12-03 20:32:38 +05:30