]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/blob - os/8.2.2/include/os/os.h
Add FreeRTOS 8.2.2
[pes-rpp/rpp-lib.git] / os / 8.2.2 / include / os / os.h
1 /**
2  * FreeRTOS library interface file.
3  *
4  * @file os.h
5  *
6  * @copyright Copyright (C) 2013, 2015 Czech Technical University in Prague
7  *
8  * @author Carlos Jenkins <carlos@jenkins.co.cr>
9  */
10
11 #ifndef __OS_H
12 #define __OS_H
13
14 #define FREERTOS_VERSION_NUMBER_MAYOR 8
15 #define FREERTOS_VERSION_NUMBER_MINOR 2
16 #define FREERTOS_VERSION_NUMBER_REV   2
17
18 /**
19  * Data type casting macro for the xTaskCreate function.
20  *
21  * The xTaskCreate function has a name parameter, which data type is different for
22  * FreeRTOS versions 7.x.x and 8.x.x.
23  *
24  * Use this macro for the task name specification to avoid compiler warnings when
25  * changing the Operating system.
26  */
27 #define FREERTOS_TASK_NAME(name) ((const char *)(name))
28
29 #include "os/FreeRTOS.h"
30 #include "os/task.h"
31 #include "os/semphr.h"
32 #include "os/queue.h"
33
34
35 #endif /* __OS_H */