hotfixes to get it to compile for freertos/arm-none-eabi
fsfw/fsfw/pipeline/head There was a failure building this commit
Details
fsfw/fsfw/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
7ebfcdda60
commit
8b9a468893
|
@ -5,7 +5,9 @@ void TaskManagement::vRequestContextSwitchFromTask() { vTaskDelay(0); }
|
||||||
void TaskManagement::requestContextSwitch(CallContext callContext = CallContext::TASK) {
|
void TaskManagement::requestContextSwitch(CallContext callContext = CallContext::TASK) {
|
||||||
if (callContext == CallContext::ISR) {
|
if (callContext == CallContext::ISR) {
|
||||||
// This function depends on the partmacro.h definition for the specific device
|
// This function depends on the partmacro.h definition for the specific device
|
||||||
vRequestContextSwitchFromISR();
|
//vRequestContextSwitchFromISR();
|
||||||
|
//TODO is this all still needed in current freeRTOS?
|
||||||
|
vRequestContextSwitchFromTask();
|
||||||
} else {
|
} else {
|
||||||
vRequestContextSwitchFromTask();
|
vRequestContextSwitchFromTask();
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
#ifdef PLATFORM_WIN
|
#ifdef PLATFORM_WIN
|
||||||
// wtf? Required for timeval!
|
// wtf? Required for timeval!
|
||||||
#include <winsock.h>
|
#include <winsock.h>
|
||||||
|
#else
|
||||||
|
#include <sys/time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "TimeStampIF.h"
|
#include "TimeStampIF.h"
|
||||||
|
|
|
@ -3,4 +3,5 @@ target_sources(
|
||||||
FsfwProtocolHeader.cpp
|
FsfwProtocolHeader.cpp
|
||||||
TmManager.cpp
|
TmManager.cpp
|
||||||
TmMessage.cpp
|
TmMessage.cpp
|
||||||
UdpTmTcBridge.cpp)
|
#UdpTmTcBridge.cpp
|
||||||
|
)
|
Loading…
Reference in New Issue