11#ifndef FREERTOS_FREERTOS_H
12#define FREERTOS_FREERTOS_H
16#include "freertos/portmacro.h"
22#define configTASK_NOTIFICATION_ARRAY_ENTRIES 1
23#define configMAX_PRIORITIES SCHED_PRIO_LEVELS
26#define configASSERT assert
29#define configTICK_RATE_HZ ((TickType_t)100)
31#define portTICK_PERIOD_MS 10
32#define portTICK_RATE_MS portTICK_PERIOD_MS
34#define BaseType_t portBASE_TYPE
35#define UBaseType_t portUBASE_TYPE
36#define TickType_t portTICK_TYPE
37#define StackType_t portSTACK_TYPE
39#define portTickType TickType_t
41#define pdMS_TO_TICKS(ms) ((TickType_t)(ms / portTICK_PERIOD_MS))
43#define xSemaphoreHandle SemaphoreHandle_t
45uint32_t xPortGetTickRateHz(
void);
46BaseType_t xPortInIsrContext(
void);
48UBaseType_t xPortSetInterruptMaskFromISR(
void);
49void vPortClearInterruptMaskFromISR(UBaseType_t state);
66#define pdFALSE ( ( BaseType_t ) 0 )
67#define pdTRUE ( ( BaseType_t ) 1 )
68#define pdPASS ( pdTRUE )
69#define pdFAIL ( pdFALSE )
75#include "freertos/semphr.h"
76#include "freertos/queue.h"