13#pragma clang diagnostic ignored "-Wempty-translation-unit"
16#if defined(__ARM_EABI__)
20#if defined(OS_USE_OS_APP_CONFIG_H)
21#include <cmsis-plus/os-app-config.h>
26#include <cmsis_device.h>
34void __attribute__ ((noreturn))
42void __attribute__ ((weak, noreturn))
69void __attribute__ ((noreturn))
98#pragma GCC diagnostic push
100#elif defined(__GNUC__)
101#pragma GCC diagnostic ignored "-Wunused-parameter"
111void __attribute__ ((weak, noreturn))
124#if defined(DEBUG) && defined(OS_ENABLE_BKPT_ON_EXIT)
126#if defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7EM__)
127 if ((CoreDebug->DHCSR & CoreDebug_DHCSR_C_DEBUGEN_Msk) != 0)
146#pragma GCC diagnostic pop
148#pragma GCC diagnostic push
149#pragma GCC diagnostic ignored "-Wmissing-attributes"
151void __attribute__ ((weak, alias (
"_Exit"), noreturn))
154#pragma GCC diagnostic pop
159#if !defined(OS_USE_SEMIHOSTING_SYSCALLS)
166void __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.
int trace_printf(const char *format,...)
int trace_puts(const char *s)