examples: add console_usb example for USB CDC

This commit is contained in:
Ivan Grokhotkov
2020-04-30 16:52:53 +02:00
parent e94848556b
commit 9548aea3e4
5 changed files with 306 additions and 0 deletions
@@ -0,0 +1,13 @@
# Build for ESP32-S2 by default
CONFIG_IDF_TARGET="esp32s2"
# Enable USB console
CONFIG_ESP_CONSOLE_USB_CDC=y
# Reduce bootloader log verbosity
CONFIG_BOOTLOADER_LOG_LEVEL_WARN=y
CONFIG_BOOTLOADER_LOG_LEVEL=2
# Enable FreeRTOS stats formatting functions, needed for 'tasks' command
CONFIG_FREERTOS_USE_TRACE_FACILITY=y
CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y