|
|
@@ -43,9 +43,13 @@ menu "ESP System Settings"
|
|
|
config ESP_SYSTEM_GDBSTUB_RUNTIME
|
|
|
bool "GDBStub at runtime"
|
|
|
select ESP_GDBSTUB_ENABLED
|
|
|
- depends on !IDF_TARGET_ESP32C2
|
|
|
help
|
|
|
- Invoke gdbstub on the serial port, allowing for gdb to attach to it and to do a debug on runtime.
|
|
|
+ Enable GDBStub inclusion into firmware.
|
|
|
+ This allows to debug the target device using serial port:
|
|
|
+ - Run 'idf.py monitor'.
|
|
|
+ - Wait for the device to initialize.
|
|
|
+ - Press Ctrl+C to interrupt the execution and enter GDB attached to your device for debugging.
|
|
|
+ NOTE: all UART input will be handled by GDBStub.
|
|
|
endchoice
|
|
|
|
|
|
config ESP_SYSTEM_PANIC_REBOOT_DELAY_SECONDS
|