bugfixes and RTEMS update for STM32
This commit is contained in:
parent
b2c98f0ae4
commit
5be95fada7
@ -8,8 +8,6 @@ target_include_directories(${TARGET_NAME}
|
|||||||
${CMAKE_CURRENT_SOURCE_DIR}
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
# Add include paths for the FSFW library
|
if(NOT DEFINED FSFW_CONFIG_DIRECTORY)
|
||||||
target_include_directories(${LIB_FSFW_NAME}
|
set(FSFW_CONFIG_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
PUBLIC
|
endif()
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}
|
|
||||||
)
|
|
18
osal/rtems/CMakeLists.txt
Normal file
18
osal/rtems/CMakeLists.txt
Normal file
@ -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
|
||||||
|
)
|
||||||
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
|||||||
#include "../../timemanager/Clock.h"
|
|
||||||
#include "RtemsBasic.h"
|
#include "RtemsBasic.h"
|
||||||
|
|
||||||
|
#include "../../timemanager/Clock.h"
|
||||||
|
#include "../../ipc/MutexHelper.h"
|
||||||
|
|
||||||
#include <rtems/score/todimpl.h>
|
#include <rtems/score/todimpl.h>
|
||||||
|
|
||||||
uint16_t Clock::leapSeconds = 0;
|
uint16_t Clock::leapSeconds = 0;
|
||||||
|
@ -34,8 +34,10 @@ ReturnValue_t InternalErrorCodes::translate(uint8_t code) {
|
|||||||
return OUT_OF_PROXIES;
|
return OUT_OF_PROXIES;
|
||||||
case INTERNAL_ERROR_INVALID_GLOBAL_ID:
|
case INTERNAL_ERROR_INVALID_GLOBAL_ID:
|
||||||
return INVALID_GLOBAL_ID;
|
return INVALID_GLOBAL_ID;
|
||||||
|
#ifndef STM32H743ZI_NUCLEO
|
||||||
case INTERNAL_ERROR_BAD_STACK_HOOK:
|
case INTERNAL_ERROR_BAD_STACK_HOOK:
|
||||||
return BAD_STACK_HOOK;
|
return BAD_STACK_HOOK;
|
||||||
|
#endif
|
||||||
// case INTERNAL_ERROR_BAD_ATTRIBUTES:
|
// case INTERNAL_ERROR_BAD_ATTRIBUTES:
|
||||||
// return BAD_ATTRIBUTES;
|
// return BAD_ATTRIBUTES;
|
||||||
// case INTERNAL_ERROR_IMPLEMENTATION_KEY_CREATE_INCONSISTENCY:
|
// case INTERNAL_ERROR_IMPLEMENTATION_KEY_CREATE_INCONSISTENCY:
|
||||||
|
Loading…
Reference in New Issue
Block a user