Skip to content

Commit 51a3ba2

Browse files
committed
Change MSC buff size
1 parent 8d58f89 commit 51a3ba2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Diff for: components/arduino_tinyusb/Kconfig.projbuild

+2-2
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ menu "Arduino TinyUSB"
142142

143143
config TINYUSB_VIDEO_STREAMING_BUFSIZE
144144
int "VIDEO streaming endpoint size"
145-
range 64 4096
146-
default 256
145+
range 0 64
146+
default 64
147147
depends on TINYUSB_VIDEO_ENABLED
148148
help
149149
VIDEO streaming endpoint size

Diff for: sdkconfig.esp32s2

+3-3
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ CONFIG_TINYUSB_MIDI_TX_BUFSIZE=64
229229
#
230230
CONFIG_TINYUSB_VIDEO_ENABLED=y
231231
CONFIG_TINYUSB_DESC_VIDEO_STRING="Espressif VIDEO Device"
232-
CONFIG_TINYUSB_VIDEO_STREAMING_BUFSIZE=256
232+
CONFIG_TINYUSB_VIDEO_STREAMING_BUFSIZE=64
233233
CONFIG_TINYUSB_VIDEO_STREAMING_IFS=1
234234
# end of VIDEO driver
235235

@@ -1439,7 +1439,7 @@ CONFIG_USB_CDC_RX_BUFSIZE=64
14391439
CONFIG_USB_CDC_TX_BUFSIZE=64
14401440
CONFIG_USB_MSC_ENABLED=y
14411441
CONFIG_USB_DESC_MSC_STRING="Espressif MSC Device"
1442-
CONFIG_USB_MSC_BUFSIZE=512
1442+
CONFIG_USB_MSC_BUFSIZE=4096
14431443
CONFIG_USB_DESC_HID_STRING="Espressif HID Device"
14441444
CONFIG_USB_DEBUG_LEVEL=0
14451445
# CONFIG_COMPILER_OPTIMIZATION_LEVEL_DEBUG is not set
@@ -1553,7 +1553,7 @@ CONFIG_USB_DESC_CDC_STRING="Espressif CDC Device"
15531553
CONFIG_USB_DESC_MSC_STRING="Espressif MSC Device"
15541554
CONFIG_USB_DESC_HID_STRING="Espressif HID Device"
15551555
CONFIG_USB_MSC_ENABLED=y
1556-
CONFIG_USB_MSC_BUFSIZE=512
1556+
CONFIG_USB_MSC_BUFSIZE=4096
15571557
CONFIG_USB_CDC_ENABLED=y
15581558
CONFIG_USB_CDC_RX_BUFSIZE=64
15591559
CONFIG_USB_CDC_TX_BUFSIZE=64

0 commit comments

Comments
 (0)