diff --git a/components/esp_gdbstub/src/gdbstub_transport.c b/components/esp_gdbstub/src/gdbstub_transport.c index 9b19a91474..99ecb1da39 100644 --- a/components/esp_gdbstub/src/gdbstub_transport.c +++ b/components/esp_gdbstub/src/gdbstub_transport.c @@ -15,7 +15,7 @@ #if CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG -int esp_gdbstub_getchar() +int esp_gdbstub_getchar(void) { uint8_t c; // retry the read until we succeed @@ -39,6 +39,12 @@ void esp_gdbstub_flush(void) usb_serial_jtag_ll_txfifo_flush(); } +#ifdef CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME +int esp_gdbstub_getfifo(void) +{ + return 0; // TODO: IDF-7264 +} +#endif // CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME #else // CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG