fix(esp_system): Updated the conditions for the GDBStub on Panic Kconfig option

This commit updates the Panic handler behavior Kconfig setting to make
the GDBStub on Panic (CONFIG_ESP_SYSTEM_PANIC_GDBSTUB) option to be only
available when esp_gdbstub is part of the component list of the build.

Closes https://github.com/espressif/esp-idf/issues/13218
This commit is contained in:
Sudeep Mohanty
2024-02-20 12:45:45 +01:00
parent 6c1542e151
commit 33271be13b
4 changed files with 13 additions and 2 deletions

View File

@@ -1,9 +1,10 @@
menu "GDB Stub"
# Hidden option which is selected from the "Panic handler behavior"
# Hidden option which adds GDBStub on panic option to the "Panic handler behavior"
# menu in the target component.
config ESP_GDBSTUB_ENABLED
bool
default y
config ESP_SYSTEM_GDBSTUB_RUNTIME
bool "GDBStub at runtime"