mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
change(esp_trace): increase usj tx buffer size in both examples
This commit is contained in:
@@ -76,12 +76,13 @@ menu "ESP Trace Configuration"
|
|||||||
config ESP_TRACE_USJ_TX_BUFFER_SIZE
|
config ESP_TRACE_USJ_TX_BUFFER_SIZE
|
||||||
int "TX buffer size"
|
int "TX buffer size"
|
||||||
default 2048
|
default 2048
|
||||||
range 256 32768
|
range 2048 32768
|
||||||
help
|
help
|
||||||
Size of the TX ring buffer for USB Serial JTAG trace transport.
|
Size of the TX ring buffer for USB Serial JTAG trace transport.
|
||||||
Larger buffer allows more trace data to be queued before blocking.
|
Larger buffer allows more trace data to be queued before blocking.
|
||||||
|
|
||||||
Note: Buffer size must be a power of 2.
|
Note: Buffer size must be a power of 2. Minimum is 2048 since
|
||||||
|
smaller buffers overflow easily on the USJ transport.
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|||||||
@@ -3,4 +3,4 @@ CONFIG_ESP_TRACE_LIB_EXTERNAL=y
|
|||||||
CONFIG_ESP_TRACE_TS_SOURCE_ESP_TIMER=y
|
CONFIG_ESP_TRACE_TS_SOURCE_ESP_TIMER=y
|
||||||
CONFIG_ESP_CONSOLE_SECONDARY_NONE=y
|
CONFIG_ESP_CONSOLE_SECONDARY_NONE=y
|
||||||
CONFIG_ESP_TRACE_TRANSPORT_USB_SERIAL_JTAG=y
|
CONFIG_ESP_TRACE_TRANSPORT_USB_SERIAL_JTAG=y
|
||||||
CONFIG_ESP_TRACE_USJ_TX_BUFFER_SIZE=32768
|
CONFIG_ESP_TRACE_USJ_TX_BUFFER_SIZE=16384
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
CONFIG_ESP_CONSOLE_SECONDARY_NONE=y
|
CONFIG_ESP_CONSOLE_SECONDARY_NONE=y
|
||||||
CONFIG_ESP_TRACE_TRANSPORT_USB_SERIAL_JTAG=y
|
CONFIG_ESP_TRACE_TRANSPORT_USB_SERIAL_JTAG=y
|
||||||
CONFIG_USE_CUSTOM_EVENT_ID=y
|
CONFIG_USE_CUSTOM_EVENT_ID=y
|
||||||
|
CONFIG_ESP_TRACE_USJ_TX_BUFFER_SIZE=16384
|
||||||
|
|||||||
Reference in New Issue
Block a user