refactor(esp_system) add user configurable reboot delay in seconds

Closes https://github.com/espressif/esp-idf/pull/9962
This commit is contained in:
Chip Weinberger
2022-11-15 03:58:16 -08:00
committed by Jakob Hasse
parent 7f4179744b
commit 6e2ce0d289
2 changed files with 29 additions and 0 deletions
+8
View File
@@ -48,6 +48,14 @@ menu "ESP System Settings"
Invoke gdbstub on the serial port, allowing for gdb to attach to it and to do a debug on runtime.
endchoice
config ESP_SYSTEM_PANIC_REBOOT_DELAY_SECONDS
int "Panic reboot delay (Seconds)"
default 0
depends on ESP_SYSTEM_PANIC_PRINT_REBOOT || ESP_SYSTEM_PANIC_SILENT_REBOOT
help
After the panic handler executes, you can specify a number of seconds to
wait before the device reboots.
config ESP_SYSTEM_SINGLE_CORE_MODE
bool
default n