Chapter 2. API Reference
• from 0 to 46 if ESP_CONSOLE_UART_CUSTOM
Default value:
• 43 if ESP_CONSOLE_UART_CUSTOM
CONFIG_ESP_CONSOLE_UART_RX_GPIO
UART RX on GPIO#
Found in:
Component config
This GPIO is used for UART RX input in the ESP-IDF Bootloader and the app (including default default
standard input of the app).
Note: The default ESP-IDF Bootloader configures this pin but doesn't read anything from the UART.
If the configuration is different in the Bootloader binary compared to the app binary, UART is recon-
figured after the bootloader exits and the app starts.
Range:
• from 0 to 46 if ESP_CONSOLE_UART_CUSTOM
Default value:
• 44 if ESP_CONSOLE_UART_CUSTOM
CONFIG_ESP_CONSOLE_UART_BAUDRATE
UART console baud rate
Found in:
Component config
This baud rate is used by both the ESP-IDF Bootloader and the app (including boot log output and
default standard input/output/error of the app).
The app's maximum baud rate depends on the UART clock source. If Power Management is disabled,
the UART clock source is the APB clock and all baud rates in the available range will be sufficiently
accurate. If Power Management is enabled, REF_TICK clock source is used so the baud rate is divided
from 1MHz. Baud rates above 1Mbps are not possible and values between 500Kbps and 1Mbps may
not be accurate.
If the configuration is different in the Bootloader binary compared to the app binary, UART is recon-
figured after the bootloader exits and the app starts.
Range:
• from 1200 to 4000000 if
• from 1200 to 1000000 if
Default value:
• 115200
CONFIG_ESP_CONSOLE_USB_CDC_RX_BUF_SIZE
Size of USB CDC RX buffer
Found in:
Component config
Set the size of USB CDC RX buffer. Increase the buffer size if your application is often receiving data
over USB CDC.
Range:
• from 4 to 16384 if ESP_CONSOLE_USB_CDC
Default value:
• 64 if ESP_CONSOLE_USB_CDC
Espressif Systems
>
ESP System Settings
>
ESP System Settings
CONFIG_PM_ENABLE
CONFIG_PM_ENABLE
>
ESP System Settings
1123
Submit Document Feedback
Release v4.4
Need help?
Do you have a question about the ESP32-S2 and is the answer not in the manual?