kconfig: move fatal error handler to arch options

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2017-09-09 08:40:43 -04:00 committed by Andrew Boie
commit d414e7c7ee

View file

@ -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
# #