usb_serial_jtag: support usb_serial_jtag on esp32c3

USB serial/jtag controller: Add vfs (logging/printf), panic handler, gdb support.

See merge request espressif/esp-idf!12925
This commit is contained in:
Jeroen Domburg
2021-04-28 08:38:31 +00:00
committed by Cao Sen Miao
parent ba15ac8634
commit d6cdb3e0ae
29 changed files with 2099 additions and 51 deletions

View File

@@ -39,6 +39,11 @@ void esp_gdbstub_putchar(int c)
REG_WRITE(UART_FIFO_AHB_REG(UART_NUM), c);
}
void esp_gdbstub_flush()
{
//not needed for uart
}
int esp_gdbstub_readmem(intptr_t addr)
{
if (addr < 0x20000000 || addr >= 0x80000000) {