Kconfig 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. menu "ESP System Settings"
  2. choice ESP_SYSTEM_PANIC
  3. prompt "Panic handler behaviour"
  4. default ESP_SYSTEM_PANIC_PRINT_REBOOT
  5. help
  6. If FreeRTOS detects unexpected behaviour or an unhandled exception, the panic handler is
  7. invoked. Configure the panic handler's action here.
  8. config ESP_SYSTEM_PANIC_PRINT_HALT
  9. bool "Print registers and halt"
  10. help
  11. Outputs the relevant registers over the serial port and halt the
  12. processor. Needs a manual reset to restart.
  13. config ESP_SYSTEM_PANIC_PRINT_REBOOT
  14. bool "Print registers and reboot"
  15. help
  16. Outputs the relevant registers over the serial port and immediately
  17. reset the processor.
  18. config ESP_SYSTEM_PANIC_SILENT_REBOOT
  19. bool "Silent reboot"
  20. help
  21. Just resets the processor without outputting anything
  22. config ESP_SYSTEM_PANIC_GDBSTUB
  23. bool "Invoke GDBStub"
  24. select ESP_GDBSTUB_ENABLED
  25. help
  26. Invoke gdbstub on the serial port, allowing for gdb to attach to it to do a postmortem
  27. of the crash.
  28. endchoice
  29. config ESP_SYSTEM_SINGLE_CORE_MODE
  30. bool
  31. default n
  32. help
  33. Only initialize and use the main core.
  34. config ESP_SYSTEM_RTC_EXT_XTAL
  35. # This is a High Layer Kconfig option, invisible, can be selected by other Kconfig option
  36. # e.g. It will be selected on when ESP32_RTC_CLK_SRC_EXT_CRYS is on
  37. bool
  38. default n
  39. config ESP_SYSTEM_RTC_EXT_XTAL_BOOTSTRAP_CYCLES
  40. int "Bootstrap cycles for external 32kHz crystal"
  41. depends on ESP_SYSTEM_RTC_EXT_XTAL
  42. default 5 if IDF_TARGET_ESP32
  43. default 0
  44. range 0 32768
  45. help
  46. To reduce the startup time of an external RTC crystal,
  47. we bootstrap it with a 32kHz square wave for a fixed number of cycles.
  48. Setting 0 will disable bootstrapping (if disabled, the crystal may take
  49. longer to start up or fail to oscillate under some conditions).
  50. If this value is too high, a faulty crystal may initially start and then fail.
  51. If this value is too low, an otherwise good crystal may not start.
  52. To accurately determine if the crystal has started,
  53. set a larger "Number of cycles for RTC_SLOW_CLK calibration" (about 3000).
  54. endmenu # ESP System Settings