Kconfig 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. menu "GDB Stub"
  2. # Hidden option which is selected from the "Panic handler behavior"
  3. # menu in the target component.
  4. config ESP_GDBSTUB_ENABLED
  5. bool
  6. config ESP_SYSTEM_GDBSTUB_RUNTIME
  7. bool "GDBStub at runtime"
  8. select ESP_GDBSTUB_ENABLED
  9. help
  10. Enable builtin GDBStub.
  11. This allows to debug the target device using serial port:
  12. - Run 'idf.py monitor'.
  13. - Wait for the device to initialize.
  14. - Press Ctrl+C to interrupt the execution and enter GDB attached to your device for debugging.
  15. NOTE: all UART input will be handled by GDBStub.
  16. config ESP_GDBSTUB_SUPPORT_TASKS
  17. bool "Enable listing FreeRTOS tasks through GDB Stub"
  18. depends on ESP_GDBSTUB_ENABLED
  19. default y
  20. help
  21. If enabled, GDBStub can supply the list of FreeRTOS tasks to GDB.
  22. Thread list can be queried from GDB using 'info threads' command.
  23. Note that if GDB task lists were corrupted, this feature may not work.
  24. If GDBStub fails, try disabling this feature.
  25. config ESP_GDBSTUB_MAX_TASKS
  26. int "Maximum number of tasks supported by GDB Stub"
  27. default 32
  28. depends on ESP_GDBSTUB_SUPPORT_TASKS
  29. help
  30. Set the number of tasks which GDB Stub will support.
  31. endmenu