29#pragma clang diagnostic ignored "-Wempty-translation-unit"
32#if defined(__ARM_EABI__)
38#include <cmsis_device.h>
47__attribute__ ((noreturn))
55void __attribute__((weak,noreturn))
83__attribute__ ((noreturn))
112#pragma GCC diagnostic push
113#pragma GCC diagnostic ignored "-Wunused-parameter"
122void __attribute__((weak, noreturn))
135#if defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7EM__)
136 if ((CoreDebug->DHCSR & CoreDebug_DHCSR_C_DEBUGEN_Msk) != 0)
155#pragma GCC diagnostic pop
157void __attribute__((weak, alias (
"_Exit"), noreturn))
163#if !defined(OS_USE_SEMIHOSTING_SYSCALLS)
171__attribute__ ((noreturn,weak))
void __call_exitprocs(int, void *)
void os_run_fini_array(void)
void os_terminate(int code)
Terminate the application. There is no more life after this.
void os_terminate_goodbye(void)
Display statistics and say goodbye before terminating.
void NVIC_SystemReset(void)
int trace_printf(const char *format,...)
int trace_puts(const char *s)