Skip to content

Commit 6dd8b4e

Browse files
authored
Merge pull request #125 from espressif/fix/ncm_buffer_count_default_value
fix(ncm): Changed NTB default value to fix DRAM overflow on esp32s2
2 parents 7898011 + a25e028 commit 6dd8b4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

device/esp_tinyusb/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ menu "TinyUSB Stack"
315315
config TINYUSB_NCM_OUT_NTB_BUFF_MAX_SIZE
316316
int "NCM NTB Buffer size for reception size"
317317
depends on TINYUSB_NET_MODE_NCM
318-
default 8192
318+
default 3200
319319
range 1600 10240
320320
help
321321
Size of NTB buffers on the reception side. The minimum size used by Linux is 2048 bytes.
@@ -327,7 +327,7 @@ menu "TinyUSB Stack"
327327
config TINYUSB_NCM_IN_NTB_BUFF_MAX_SIZE
328328
int "NCM NTB Buffer size for transmission size"
329329
depends on TINYUSB_NET_MODE_NCM
330-
default 8192
330+
default 3200
331331
range 1600 10240
332332
help
333333
Size of NTB buffers on the transmission side. The minimum size used by Linux is 2048 bytes.

0 commit comments

Comments
 (0)