Merge branch 'fix/esp32c2-gdbstub-runtime' into 'master'

fix(freertos): enable esp32c2 runtime-gdbstub

See merge request espressif/esp-idf!24858
This commit is contained in:
Alexey Lapshin
2023-07-28 15:41:07 +08:00
4 changed files with 7 additions and 10 deletions
+6 -2
View File
@@ -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