35#ifndef CONFIG_CORE_REBOOT_ON_PANIC 
   37#define CONFIG_CORE_REBOOT_ON_PANIC (0) 
   39#define CONFIG_CORE_REBOOT_ON_PANIC (1) 
   53#ifdef MODULE_CORTEXM_COMMON 
   56#if defined(CPU_CORE_CORTEX_M3) || defined(CPU_CORE_CORTEX_M33) || \ 
   57    defined(CPU_CORE_CORTEX_M4) || defined(CPU_CORE_CORTEX_M4F) || \ 
   58    defined(CPU_CORE_CORTEX_M7) 
 
#define NORETURN
The NORETURN keyword tells the compiler to assume that the function cannot return.
 
Common macros and compiler attributes/pragmas configuration.
 
NORETURN void core_panic(core_panic_t crash_code, const char *message)
Handle an unrecoverable error by halting or rebooting the system.
 
void panic_arch(void)
architecture dependent handling of a panic case
 
core_panic_t
Definition of available panic modes.
 
@ PANIC_SSP
stack smashing protector failure
 
@ PANIC_MEM_MANAGE
memory management fault
 
@ PANIC_STACK_OVERFLOW
stack overflow detected