From d414e7c7eeeef49b4cc3e53f0f3ed716dfa13180 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Sat, 9 Sep 2017 08:40:43 -0400 Subject: [PATCH] kconfig: move fatal error handler to arch options Signed-off-by: Anas Nashif --- arch/Kconfig | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/Kconfig b/arch/Kconfig index 6dd52dcfa0a..35fa78fbd81 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -44,6 +44,17 @@ config HW_STACK_PROTECTION help 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" # # Interrupt related configs @@ -131,17 +142,6 @@ config BOOTLOADER_CONTEXT_RESTORE_SUPPORTED This option signifies that the target has options of bootloaders 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 #