kconfig: move fatal error handler to arch options
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
8379b7b433
commit
d414e7c7ee
1 changed files with 11 additions and 11 deletions
22
arch/Kconfig
22
arch/Kconfig
|
@ -44,6 +44,17 @@ config HW_STACK_PROTECTION
|
||||||
help
|
help
|
||||||
Select this option to enable hardware stack protection.
|
Select this option to enable hardware stack protection.
|
||||||
|
|
||||||
|
config SIMPLE_FATAL_ERROR_HANDLER
|
||||||
|
prompt "Simple system fatal error handler"
|
||||||
|
bool
|
||||||
|
default n
|
||||||
|
default y if !MULTITHREADING
|
||||||
|
help
|
||||||
|
Provides an implementation of _SysFatalErrorHandler() that hard hangs
|
||||||
|
instead of aborting the faulting thread, and does not print anything,
|
||||||
|
for footprint-concerned systems. Only enable this option if you do not
|
||||||
|
want debug capabilities in case of system fatal error.
|
||||||
|
|
||||||
menu "Interrupt Configuration"
|
menu "Interrupt Configuration"
|
||||||
#
|
#
|
||||||
# Interrupt related configs
|
# Interrupt related configs
|
||||||
|
@ -131,17 +142,6 @@ config BOOTLOADER_CONTEXT_RESTORE_SUPPORTED
|
||||||
This option signifies that the target has options of bootloaders
|
This option signifies that the target has options of bootloaders
|
||||||
that support context restore upon resume from deep sleep
|
that support context restore upon resume from deep sleep
|
||||||
|
|
||||||
config SIMPLE_FATAL_ERROR_HANDLER
|
|
||||||
prompt "Simple system fatal error handler"
|
|
||||||
bool
|
|
||||||
default n
|
|
||||||
default y if !MULTITHREADING
|
|
||||||
help
|
|
||||||
Provides an implementation of _SysFatalErrorHandler() that hard hangs
|
|
||||||
instead of aborting the faulting thread, and does not print anything,
|
|
||||||
for footprint-concerned systems. Only enable this option if you do not
|
|
||||||
want debug capabilities in case of system fatal error.
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# End hidden PM feature configs
|
# End hidden PM feature configs
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue