24 lines
428 B
C++
24 lines
428 B
C++
#ifndef HOST_FREERTOS_H
|
|
#define HOST_FREERTOS_H
|
|
|
|
#include <cassert>
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
|
|
using BaseType_t = std::int32_t;
|
|
using UBaseType_t = std::uint32_t;
|
|
using TickType_t = std::uint32_t;
|
|
|
|
struct StaticTimer_t
|
|
{
|
|
alignas( std::max_align_t ) unsigned char bytes[ 160 ];
|
|
};
|
|
|
|
#define pdFALSE 0
|
|
#define pdTRUE 1
|
|
#define pdFAIL 0
|
|
#define pdPASS 1
|
|
#define configASSERT( condition ) assert( condition )
|
|
|
|
#endif
|