14#pragma clang diagnostic ignored "-Wempty-translation-unit"
17#if defined(__ARM_EABI__)
21#if defined(OS_USE_OS_APP_CONFIG_H)
22#include <cmsis-plus/os-app-config.h>
27#include <cmsis_device.h>
36__attribute__ ((noreturn))
44void __attribute__((weak,noreturn))
72__attribute__ ((noreturn))
101#pragma GCC diagnostic push
102#if defined(__clang__)
103#elif defined(__GNUC__)
104#pragma GCC diagnostic ignored "-Wunused-parameter"
114void __attribute__((weak, noreturn))
127#if defined(DEBUG) && defined(OS_ENABLE_BKPT_ON_EXIT)
129#if defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7EM__)
130 if ((CoreDebug->DHCSR & CoreDebug_DHCSR_C_DEBUGEN_Msk) != 0)
149#pragma GCC diagnostic pop
151#pragma GCC diagnostic push
152#pragma GCC diagnostic ignored "-Wmissing-attributes"
154void __attribute__((weak, alias (
"_Exit"), noreturn))
157#pragma GCC diagnostic pop
162#if !defined(OS_USE_SEMIHOSTING_SYSCALLS)
170__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)