diff --git a/osal/rtems/CMakeLists.txt b/osal/rtems/CMakeLists.txt new file mode 100644 index 00000000..bff03184 --- /dev/null +++ b/osal/rtems/CMakeLists.txt @@ -0,0 +1,18 @@ +target_sources(${LIB_FSFW_NAME} + PRIVATE + Clock.cpp + CpuUsage.cpp + InitTask.cpp + InternalErrorCodes.cpp + MessageQueue.cpp + MultiObjectTask.cpp + Mutex.cpp + MutexFactory.cpp + PollingTask.cpp + QueueFactory.cpp + RtemsBasic.cpp + TaskBase.cpp + TaskFactory.cpp +) + + diff --git a/osal/rtems/Clock.cpp b/osal/rtems/Clock.cpp index e5f37ec6..aa135ade 100644 --- a/osal/rtems/Clock.cpp +++ b/osal/rtems/Clock.cpp @@ -1,5 +1,8 @@ -#include "../../timemanager/Clock.h" #include "RtemsBasic.h" + +#include "../../timemanager/Clock.h" +#include "../../ipc/MutexHelper.h" + #include uint16_t Clock::leapSeconds = 0; diff --git a/osal/rtems/InternalErrorCodes.cpp b/osal/rtems/InternalErrorCodes.cpp index ddf365d5..f4079814 100644 --- a/osal/rtems/InternalErrorCodes.cpp +++ b/osal/rtems/InternalErrorCodes.cpp @@ -34,8 +34,10 @@ ReturnValue_t InternalErrorCodes::translate(uint8_t code) { return OUT_OF_PROXIES; case INTERNAL_ERROR_INVALID_GLOBAL_ID: return INVALID_GLOBAL_ID; +#ifndef STM32H743ZI_NUCLEO case INTERNAL_ERROR_BAD_STACK_HOOK: return BAD_STACK_HOOK; +#endif // case INTERNAL_ERROR_BAD_ATTRIBUTES: // return BAD_ATTRIBUTES; // case INTERNAL_ERROR_IMPLEMENTATION_KEY_CREATE_INCONSISTENCY: