mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-29 05:38:42 +00:00
esp_gdbstup: implement runtime gdbstub for riscv
This commit is contained in:
@@ -98,6 +98,7 @@ void esp_gdbstub_flush(void)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME
|
||||
int esp_gdbstub_getfifo(void)
|
||||
{
|
||||
esp_gdbstub_uart_init();
|
||||
@@ -115,5 +116,5 @@ int esp_gdbstub_getfifo(void)
|
||||
uart_ll_clr_intsts_mask(gdb_uart, UART_INTR_RXFIFO_FULL | UART_INTR_RXFIFO_TOUT);
|
||||
return doDebug;
|
||||
}
|
||||
|
||||
#endif // CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME
|
||||
#endif // CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG
|
||||
|
Reference in New Issue
Block a user