using include structure as used in kernel
This commit is contained in:
parent
c9156e1219
commit
8035af28b9
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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>
|
||||||
|
@ -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
|
||||||
|
@ -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.
|
||||||
|
@ -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:
|
||||||
|
@ -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:
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include "Timekeeper.h"
|
#include "Timekeeper.h"
|
||||||
|
|
||||||
#include <FreeRTOSConfig.h>
|
#include "FreeRTOSConfig.h"
|
||||||
|
|
||||||
Timekeeper * Timekeeper::myinstance = nullptr;
|
Timekeeper * Timekeeper::myinstance = nullptr;
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user