Moved FreeRTOS to an object library

This also allows for reducing the propagated includes and thus avoid name clashes to FreeRTOS.
This commit is contained in:
Raphael Coeffic
2022-04-03 17:50:53 +02:00
parent 93b8bf129c
commit c11d7d58ae
10 changed files with 75 additions and 55 deletions
+3 -3
View File
@@ -141,9 +141,9 @@ inline void RTOS_CREATE_TASK(pthread_t &taskId, void * (*task)(void *), const ch
#ifdef __cplusplus
extern "C" {
#endif
#include <FreeRTOS.h>
#include <task.h>
#include <semphr.h>
#include <FreeRTOS/include/FreeRTOS.h>
#include <FreeRTOS/include/task.h>
#include <FreeRTOS/include/semphr.h>
#ifdef __cplusplus
}
#endif