not an ideal solution but works for now

This commit is contained in:
2021-07-16 12:22:14 +02:00
parent aafccd191e
commit a65a184083
9 changed files with 70 additions and 10 deletions

View File

@ -0,0 +1,24 @@
#include "fsfw/osal/rtems/BinarySemaphore.h"
#include <rtems/rtems/sem.h>
BinarySemaphore::BinarySemaphore() {
}
BinarySemaphore::~BinarySemaphore() {
}
// Interface implementation
ReturnValue_t BinarySemaphore::acquire(TimeoutType timeoutType, uint32_t timeoutMs) {
return HasReturnvaluesIF::RETURN_OK;
}
ReturnValue_t BinarySemaphore::release() {
return HasReturnvaluesIF::RETURN_OK;
}
uint8_t BinarySemaphore::getSemaphoreCounter() const {
return 0;
}

View File

@ -13,6 +13,7 @@ target_sources(${LIB_FSFW_NAME}
RtemsBasic.cpp
RTEMSTaskBase.cpp
TaskFactory.cpp
BinarySemaphore.cpp
)