1 #ifndef _MA_OSAL_FREERTOS_H_
2 #define _MA_OSAL_FREERTOS_H_
6 #include <ma_config_board.h>
15 #if __has_include(<freertos/FreeRTOS.h>)
16 #include <freertos/FreeRTOS.h>
17 #include <freertos/event_groups.h>
18 #include <freertos/portmacro.h>
19 #include <freertos/queue.h>
20 #include <freertos/semphr.h>
21 #include <freertos/task.h>
22 #include <freertos/timers.h>
23 #elif __has_include(<FreeRTOS.h>)
25 #include <event_groups.h>
26 #include <portmacro.h>
42 #define MA_WAIT_FOREVER portMAX_DELAY
void * ma_stack_t
Definition: ma_osal_pthread.h:19
pthread_t ma_thread_t
Definition: ma_osal_pthread.h:17
pthread_mutex_t ma_mutex_t
Definition: ma_osal_pthread.h:18
struct ma_timer ma_timer_t
struct ma_event ma_event_t
uint64_t ma_tick_t
Definition: ma_osal_pthread.h:16
Definition: ma_osal_pthread.h:40
void(* fn)(struct ma_timer *, void *arg)
Definition: ma_osal_pthread.h:43
bool oneshot
Definition: ma_osal_pthread.h:46
void * arg
Definition: ma_osal_pthread.h:44