RTOS Wrapper
API reference
Loading...
Searching...
No Matches
OsAbstraction.h
Go to the documentation of this file.
1#pragma once
33/* ── RTOS selection guard ────────────────────────────────────────────────── */
34#if (defined(HF_RTOS_FREERTOS) + defined(HF_RTOS_THREADX) + defined(HF_RTOS_CMSIS)) > 1
35# error "Select exactly one RTOS backend: HF_RTOS_CMSIS, HF_RTOS_FREERTOS, or HF_RTOS_THREADX"
36#endif
37
38#if defined(HF_RTOS_CMSIS)
39# include "os/os_cmsis.h"
40#elif defined(HF_RTOS_FREERTOS)
41# include "os/os_freertos.h"
42#elif defined(HF_RTOS_THREADX)
43# include "os/os_threadx.h"
44#else /* HF_RTOS_NONE (or no RTOS selected) — bare-metal / host-only stubs */
45# include "os/os_none.h"
46#endif
CMSIS-RTOS2 backend for the generic OS abstraction.
FreeRTOS backend for the generic OS abstraction.
No-scheduler backend for the generic OS abstraction.
Azure RTOS ThreadX backend for the generic OS abstraction.