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