2020-02-02 15:23:16 +00:00
|
|
|
menu "ESP System Settings"
|
|
|
|
|
|
|
|
choice ESP_SYSTEM_PANIC
|
|
|
|
prompt "Panic handler behaviour"
|
|
|
|
default ESP_SYSTEM_PANIC_PRINT_REBOOT
|
|
|
|
help
|
|
|
|
If FreeRTOS detects unexpected behaviour or an unhandled exception, the panic handler is
|
|
|
|
invoked. Configure the panic handler's action here.
|
|
|
|
|
|
|
|
config ESP_SYSTEM_PANIC_PRINT_HALT
|
|
|
|
bool "Print registers and halt"
|
|
|
|
help
|
|
|
|
Outputs the relevant registers over the serial port and halt the
|
|
|
|
processor. Needs a manual reset to restart.
|
|
|
|
|
|
|
|
config ESP_SYSTEM_PANIC_PRINT_REBOOT
|
|
|
|
bool "Print registers and reboot"
|
|
|
|
help
|
|
|
|
Outputs the relevant registers over the serial port and immediately
|
|
|
|
reset the processor.
|
|
|
|
|
|
|
|
config ESP_SYSTEM_PANIC_SILENT_REBOOT
|
|
|
|
bool "Silent reboot"
|
|
|
|
help
|
|
|
|
Just resets the processor without outputting anything
|
|
|
|
|
|
|
|
config ESP_SYSTEM_PANIC_GDBSTUB
|
|
|
|
bool "Invoke GDBStub"
|
|
|
|
select ESP_GDBSTUB_ENABLED
|
|
|
|
help
|
|
|
|
Invoke gdbstub on the serial port, allowing for gdb to attach to it to do a postmortem
|
|
|
|
of the crash.
|
|
|
|
endchoice
|
|
|
|
|
2020-02-13 12:43:23 +00:00
|
|
|
config ESP_SYSTEM_SINGLE_CORE_MODE
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Only initialize and use the main core.
|
|
|
|
|
2020-02-02 15:23:16 +00:00
|
|
|
endmenu # ESP System Settings
|