-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathtinyusb.Kconfig
More file actions
58 lines (48 loc) · 1.83 KB
/
tinyusb.Kconfig
File metadata and controls
58 lines (48 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Put this section into the related component's folder 's Kconfig file to extend the menu e.g. .platformio\packages\framework-espidf\components\tinyusb
menu "TinyUSB MSC (Mass Storage Class) configuration"
config TINYUSB_ENABLED
bool "Enable TinyUSB device"
default y
help
Enable support in the TinyUSB stack.
config TINYUSB_MSC_ENABLED
bool "Enable TinyUSB MSC device"
default y
help
Enable Mass Storage Class device support in the TinyUSB stack.
If set, user must implement tud_msc_xxx callbacks.
config TINYUSB_MSC_BUFSIZE
int "MSC buffer size (bytes)"
default 4096
range 512 12288
help
Size of the internal SCSI read/write buffer per LUN.
Larger value speeds up bulk transfer but consumes more RAM.
config TINYUSB_MSC_LUN_COUNT
int "Number of logical units (LUN)"
default 1
range 1 4
help
TinyUSB MSC supports up to 4 LUNs. Each LUN needs its own
inquiry string, capacity and block read/write callbacks.
config TINYUSB_MSC_VENDOR_ID
string "Vendor ID string (8 bytes max)"
default "ESP32"
help
Returned in SCSI INQUIRY command. Must be ≤ 8 characters.
config TINYUSB_MSC_PRODUCT_ID
string "Product ID string (16 bytes max)"
default "MSC Disk"
help
Returned in SCSI INQUIRY command. Must be ≤ 16 characters.
config TINYUSB_MSC_SERIAL
string "Serial number string (16 bytes max)"
default "123456789"
help
Returned in SCSI INQUIRY command. Must be ≤ 16 characters.
config TINYUSB_MSC_DEBUG
bool "Enable MSC debug output"
default n
help
Turn on TinyUSB MSC debug messages (requires CDC logger).
endmenu