a66bd7a489
Add a new board type for ESP32-C3 revision 3 and up that implement the USB serial/JTAG port on pin 18 and 19. This variant uses the USB serial for programming and console, leaving the UART free. - Pins 18 and 19 are correctly reserved for this variant. Also pins 14-17 are reserved for flash for any ESP32-C3 so they can't be reconfigured anymore to crash the system. - Added usb_serial_jtag.c and .h to implement this interface. - Interface was tested to work correctly together with webrepl. - Interface was tested to work correctly when sending and receiving large files with ampy. - Disconnecting terminal or USB will not hang the system when it's trying to print.
10 lines
293 B
Plaintext
10 lines
293 B
Plaintext
CONFIG_ESP32C3_REV_MIN_3=y
|
|
CONFIG_ESP32C3_REV_MIN=3
|
|
CONFIG_ESP32C3_BROWNOUT_DET=y
|
|
CONFIG_ESP32C3_BROWNOUT_DET_LVL_SEL_7=
|
|
CONFIG_ESP32C3_BROWNOUT_DET_LVL_SEL_4=y
|
|
CONFIG_ESP32C3_BROWNOUT_DET_LVL=4
|
|
CONFIG_ESP_CONSOLE_UART_DEFAULT=
|
|
CONFIG_ESP_CONSOLE_USB_CDC=
|
|
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y
|