Skip to content

Commit 71121f6

Browse files
authored
Update Kconfig.projbuild
1 parent 4278fbc commit 71121f6

File tree

1 file changed

+10
-18
lines changed

1 file changed

+10
-18
lines changed

components/arduino_tinyusb/Kconfig.projbuild

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ menu "Arduino TinyUSB"
44
config TINYUSB_ENABLED
55
bool "Enable TinyUSB driver"
66
default y
7-
depends on IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3 || IDF_TARGET_ESP32P4
7+
depends on IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
88
select FREERTOS_SUPPORT_STATIC_ALLOCATION
99
select FREERTOS_USE_AUTHENTIC_INCLUDE_PATHS
1010
help
@@ -28,16 +28,14 @@ menu "Arduino TinyUSB"
2828

2929
config TINYUSB_CDC_RX_BUFSIZE
3030
int "CDC FIFO size of RX"
31-
default 64 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
32-
default 512 if IDF_TARGET_ESP32P4
31+
default 64
3332
depends on TINYUSB_CDC_ENABLED
3433
help
3534
CDC FIFO size of RX
3635

3736
config TINYUSB_CDC_TX_BUFSIZE
3837
int "CDC FIFO size of TX"
39-
default 64 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
40-
default 512 if IDF_TARGET_ESP32P4
38+
default 64
4139
depends on TINYUSB_CDC_ENABLED
4240
help
4341
CDC FIFO size of TX
@@ -88,8 +86,7 @@ menu "Arduino TinyUSB"
8886

8987
config TINYUSB_HID_BUFSIZE
9088
int "HID Buffer size"
91-
default 64 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
92-
default 512 if IDF_TARGET_ESP32P4
89+
default 64
9390
depends on TINYUSB_HID_ENABLED
9491
help
9592
HID Buffer size. Should be sufficient to hold ID (if any) + Data
@@ -114,16 +111,14 @@ menu "Arduino TinyUSB"
114111

115112
config TINYUSB_MIDI_RX_BUFSIZE
116113
int "MIDI FIFO size of RX"
117-
default 64 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
118-
default 512 if IDF_TARGET_ESP32P4
114+
default 64
119115
depends on TINYUSB_MIDI_ENABLED
120116
help
121117
MIDI FIFO size of RX
122118

123119
config TINYUSB_MIDI_TX_BUFSIZE
124120
int "MIDI FIFO size of TX"
125-
default 64 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
126-
default 512 if IDF_TARGET_ESP32P4
121+
default 64
127122
depends on TINYUSB_MIDI_ENABLED
128123
help
129124
MIDI FIFO size of TX
@@ -148,9 +143,8 @@ menu "Arduino TinyUSB"
148143

149144
config TINYUSB_VIDEO_STREAMING_BUFSIZE
150145
int "VIDEO streaming endpoint size"
151-
range 0 512
152-
default 64 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
153-
default 512 if IDF_TARGET_ESP32P4
146+
range 0 64
147+
default 64
154148
depends on TINYUSB_VIDEO_ENABLED
155149
help
156150
VIDEO streaming endpoint size
@@ -225,16 +219,14 @@ menu "Arduino TinyUSB"
225219

226220
config TINYUSB_VENDOR_RX_BUFSIZE
227221
int "VENDOR FIFO size of RX"
228-
default 64 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
229-
default 512 if IDF_TARGET_ESP32P4
222+
default 64
230223
depends on TINYUSB_VENDOR_ENABLED
231224
help
232225
VENDOR FIFO size of RX
233226

234227
config TINYUSB_VENDOR_TX_BUFSIZE
235228
int "VENDOR FIFO size of TX"
236-
default 64 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
237-
default 512 if IDF_TARGET_ESP32P4
229+
default 64
238230
depends on TINYUSB_VENDOR_ENABLED
239231
help
240232
VENDOR FIFO size of TX

0 commit comments

Comments
 (0)