14#include "freertos/portmacro.h"
20#define configTASK_NOTIFICATION_ARRAY_ENTRIES 1
21#define configMAX_PRIORITIES SCHED_PRIO_LEVELS
23#ifndef configSTACK_DEPTH_TYPE
24#define configSTACK_DEPTH_TYPE uint32_t
28#define configASSERT assert
31#define configTICK_RATE_HZ ((TickType_t)100)
33#define portTICK_PERIOD_MS 10
34#define portTICK_RATE_MS portTICK_PERIOD_MS
36#define BaseType_t portBASE_TYPE
37#define UBaseType_t portUBASE_TYPE
38#define TickType_t portTICK_TYPE
39#define StackType_t portSTACK_TYPE
41#define portTickType TickType_t
43#define pdMS_TO_TICKS(ms) ((TickType_t)(ms / portTICK_PERIOD_MS))
45#define xSemaphoreHandle SemaphoreHandle_t
47typedef void (* TaskFunction_t)(
void * );
49uint32_t xPortGetTickRateHz(
void);
50BaseType_t xPortInIsrContext(
void);
52UBaseType_t xPortSetInterruptMaskFromISR(
void);
53void vPortClearInterruptMaskFromISR(UBaseType_t state);
70#define pdFALSE ( ( BaseType_t ) 0 )
71#define pdTRUE ( ( BaseType_t ) 1 )
72#define pdPASS ( pdTRUE )
73#define pdFAIL ( pdFALSE )
79#include "freertos/semphr.h"
80#include "freertos/queue.h"