using include structure as used in kernel

This commit is contained in:
Robin Müller 2021-07-12 22:42:07 +02:00
parent c9156e1219
commit 8035af28b9
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
13 changed files with 29 additions and 27 deletions

View File

@ -4,8 +4,8 @@
#include "../../returnvalues/HasReturnvaluesIF.h" #include "../../returnvalues/HasReturnvaluesIF.h"
#include "../../tasks/SemaphoreIF.h" #include "../../tasks/SemaphoreIF.h"
#include <freertos/FreeRTOS.h> #include "FreeRTOS.h"
#include <freertos/task.h> #include "task.h"
#if (tskKERNEL_VERSION_MAJOR == 8 && tskKERNEL_VERSION_MINOR > 2) || \ #if (tskKERNEL_VERSION_MAJOR == 8 && tskKERNEL_VERSION_MINOR > 2) || \
tskKERNEL_VERSION_MAJOR > 8 tskKERNEL_VERSION_MAJOR > 8

View File

@ -4,8 +4,8 @@
#include "../../returnvalues/HasReturnvaluesIF.h" #include "../../returnvalues/HasReturnvaluesIF.h"
#include "../../tasks/SemaphoreIF.h" #include "../../tasks/SemaphoreIF.h"
#include <freertos/FreeRTOS.h> #include "FreeRTOS.h"
#include <freertos/semphr.h> #include "semphr.h"
/** /**
* @brief OS Tool to achieve synchronization of between tasks or between * @brief OS Tool to achieve synchronization of between tasks or between

View File

@ -3,8 +3,8 @@
#include "../../timemanager/Clock.h" #include "../../timemanager/Clock.h"
#include "../../globalfunctions/timevalOperations.h" #include "../../globalfunctions/timevalOperations.h"
#include <freertos/FreeRTOS.h> #include "FreeRTOS.h"
#include <freertos/task.h> #include "task.h"
#include <stdlib.h> #include <stdlib.h>
#include <time.h> #include <time.h>

View File

@ -4,8 +4,8 @@
#include "CountingSemaphUsingTask.h" #include "CountingSemaphUsingTask.h"
#include "../../tasks/SemaphoreIF.h" #include "../../tasks/SemaphoreIF.h"
#include <freertos/FreeRTOS.h> #include "FreeRTOS.h"
#include <freertos/task.h> #include "task.h"
#if (tskKERNEL_VERSION_MAJOR == 8 && tskKERNEL_VERSION_MINOR > 2) || \ #if (tskKERNEL_VERSION_MAJOR == 8 && tskKERNEL_VERSION_MINOR > 2) || \
tskKERNEL_VERSION_MAJOR > 8 tskKERNEL_VERSION_MAJOR > 8

View File

@ -3,7 +3,8 @@
#include "../../serviceinterface/ServiceInterfaceStream.h" #include "../../serviceinterface/ServiceInterfaceStream.h"
#include <freertos/semphr.h> #include "FreeRTOS.h"
#include "semphr.h"
// Make sure #define configUSE_COUNTING_SEMAPHORES 1 is set in // Make sure #define configUSE_COUNTING_SEMAPHORES 1 is set in
// free FreeRTOSConfig.h file. // free FreeRTOSConfig.h file.

View File

@ -6,8 +6,8 @@
#include "../../tasks/FixedTimeslotTaskIF.h" #include "../../tasks/FixedTimeslotTaskIF.h"
#include "../../tasks/Typedef.h" #include "../../tasks/Typedef.h"
#include <freertos/FreeRTOS.h> #include "FreeRTOS.h"
#include <freertos/task.h> #include "task.h"
class FixedTimeslotTask: public FixedTimeslotTaskIF, public FreeRTOSTaskIF { class FixedTimeslotTask: public FixedTimeslotTaskIF, public FreeRTOSTaskIF {
public: public:

View File

@ -1,8 +1,8 @@
#ifndef FSFW_OSAL_FREERTOS_FREERTOSTASKIF_H_ #ifndef FSFW_OSAL_FREERTOS_FREERTOSTASKIF_H_
#define FSFW_OSAL_FREERTOS_FREERTOSTASKIF_H_ #define FSFW_OSAL_FREERTOS_FREERTOSTASKIF_H_
#include <freertos/FreeRTOS.h> #include "FreeRTOS.h"
#include <freertos/task.h> #include "task.h"
class FreeRTOSTaskIF { class FreeRTOSTaskIF {
public: public:

View File

@ -6,10 +6,11 @@
#include "../../internalError/InternalErrorReporterIF.h" #include "../../internalError/InternalErrorReporterIF.h"
#include "../../ipc/MessageQueueIF.h" #include "../../ipc/MessageQueueIF.h"
#include "../../ipc/MessageQueueMessageIF.h" #include "../../ipc/MessageQueueMessageIF.h"
#include "../../ipc/MessageQueueMessage.h"
#include "FreeRTOS.h"
#include "queue.h"
#include <freertos/FreeRTOS.h>
#include <freertos/queue.h>
#include <fsfw/ipc/MessageQueueMessage.h>
/** /**
* @brief This class manages sending and receiving of * @brief This class manages sending and receiving of

View File

@ -3,8 +3,8 @@
#include "../../ipc/MutexIF.h" #include "../../ipc/MutexIF.h"
#include <freertos/FreeRTOS.h> #include "FreeRTOS.h"
#include <freertos/semphr.h> #include "semphr.h"
/** /**
* @brief OS component to implement MUTual EXclusion * @brief OS component to implement MUTual EXclusion

View File

@ -5,8 +5,8 @@
#include "../../ipc/messageQueueDefinitions.h" #include "../../ipc/messageQueueDefinitions.h"
#include "../../ipc/MessageQueueIF.h" #include "../../ipc/MessageQueueIF.h"
#include "freertos/FreeRTOS.h" #include "FreeRTOS.h"
#include "freertos/queue.h" #include "queue.h"
#include <map> #include <map>

View File

@ -1,10 +1,10 @@
#ifndef FRAMEWORK_OSAL_FREERTOS_TASKMANAGEMENT_H_ #ifndef FSFW_OSAL_FREERTOS_TASKMANAGEMENT_H_
#define FRAMEWORK_OSAL_FREERTOS_TASKMANAGEMENT_H_ #define FSFW_OSAL_FREERTOS_TASKMANAGEMENT_H_
#include "../../returnvalues/HasReturnvaluesIF.h" #include "../../returnvalues/HasReturnvaluesIF.h"
#include <freertos/FreeRTOS.h> #include "FreeRTOS.h"
#include <freertos/task.h> #include "task.h"
#include <cstdint> #include <cstdint>

View File

@ -1,6 +1,6 @@
#include "Timekeeper.h" #include "Timekeeper.h"
#include <FreeRTOSConfig.h> #include "FreeRTOSConfig.h"
Timekeeper * Timekeeper::myinstance = nullptr; Timekeeper * Timekeeper::myinstance = nullptr;

View File

@ -3,8 +3,8 @@
#include "../../timemanager/Clock.h" #include "../../timemanager/Clock.h"
#include <freertos/FreeRTOS.h> #include "FreeRTOS.h"
#include <freertos/task.h> #include "task.h"
/** /**