mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 12:44:33 +02:00
Merge branch 'bugfix/tinyusb_vendor_msc' into 'master'
tinyusb: Fix Mass Storage and Vendor Class builds See merge request espressif/esp-idf!11443
This commit is contained in:
@@ -38,6 +38,7 @@ if(CONFIG_USB_ENABLED)
|
|||||||
"${COMPONENT_DIR}/tinyusb/src/class/hid/hid_device.c"
|
"${COMPONENT_DIR}/tinyusb/src/class/hid/hid_device.c"
|
||||||
"${COMPONENT_DIR}/tinyusb/src/class/midi/midi_device.c"
|
"${COMPONENT_DIR}/tinyusb/src/class/midi/midi_device.c"
|
||||||
"${COMPONENT_DIR}/tinyusb/src/class/msc/msc_device.c"
|
"${COMPONENT_DIR}/tinyusb/src/class/msc/msc_device.c"
|
||||||
|
"${COMPONENT_DIR}/tinyusb/src/class/vendor/vendor_device.c"
|
||||||
"${COMPONENT_DIR}/tinyusb/src/common/tusb_fifo.c"
|
"${COMPONENT_DIR}/tinyusb/src/common/tusb_fifo.c"
|
||||||
"${COMPONENT_DIR}/tinyusb/src/device/usbd_control.c"
|
"${COMPONENT_DIR}/tinyusb/src/device/usbd_control.c"
|
||||||
"${COMPONENT_DIR}/tinyusb/src/device/usbd.c"
|
"${COMPONENT_DIR}/tinyusb/src/device/usbd.c"
|
||||||
|
@@ -103,6 +103,20 @@ menu "TinyUSB"
|
|||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
config USB_MSC_ENABLED
|
||||||
|
bool "Enable USB MSC TinyUSB driver"
|
||||||
|
default n
|
||||||
|
depends on USB_ENABLED
|
||||||
|
help
|
||||||
|
Enable USB MSC TinyUSB driver.
|
||||||
|
|
||||||
|
config USB_MSC_BUFSIZE
|
||||||
|
int "MSC FIFO size"
|
||||||
|
default 512
|
||||||
|
depends on USB_MSC_ENABLED
|
||||||
|
help
|
||||||
|
MSC FIFO size
|
||||||
|
|
||||||
config USB_CDC_ENABLED
|
config USB_CDC_ENABLED
|
||||||
bool "Enable USB Serial (CDC) TinyUSB driver"
|
bool "Enable USB Serial (CDC) TinyUSB driver"
|
||||||
default n
|
default n
|
||||||
|
Reference in New Issue
Block a user