13#ifndef CMSIS_PLUS_RTOS_OS_HOOKS_H_
14#define CMSIS_PLUS_RTOS_OS_HOOKS_H_
21#if defined(__cplusplus)
36#pragma GCC diagnostic push
38#pragma clang diagnostic ignored "-Wreserved-identifier"
40#pragma GCC diagnostic ignored "-Wredundant-decls"
49 __attribute__ ((noreturn))
51#pragma GCC diagnostic pop
127 __attribute__ ((noreturn))
178#define os_initialize_hardware_early os_startup_initialize_hardware_early
179#define os_initialize_hardware os_startup_initialize_hardware
180#define os_initialize_args os_startup_initialize_args
190#if defined(__cplusplus)
void os_startup_create_thread_idle(void)
Create the idle thread.
void os_startup_initialize_free_store(void *heap_address, size_t heap_size_bytes)
Initialise free store.
void os_startup_initialize_hardware_early(void)
Initialise hardware early.
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 os_rtos_application_out_of_memory_hook(void)
Hook to handle out of memory in the application free store.
void _start(void)
The standard C application entry point.
void os_startup_initialize_args(int *p_argc, char ***p_argv)
Initialise arguments.
bool os_rtos_idle_enter_power_saving_mode_hook(void)
Hook to enter a power saving mode.
void os_startup_initialize_hardware(void)
Initialise hardware.
void os_rtos_system_out_of_memory_hook(void)
Hook to handle out of memory in the RTOS dynamic memory.