Verified Commit 5983709c authored by Vincent Coubard's avatar Vincent Coubard
Browse files

Convert remaining of BSP to CMSIS RTOS



Signed-off-by: Vincent Coubard's avatarVincent Coubard <vincent.coubard@arm.com>
parent a92c8dda
...@@ -100,11 +100,9 @@ target_sources(${LIB_NAME} ...@@ -100,11 +100,9 @@ target_sources(${LIB_NAME}
target_link_libraries(${LIB_NAME} target_link_libraries(${LIB_NAME}
PRIVATE PRIVATE
cmsis-rtos-api
mcu-driver-hal mcu-driver-hal
FreeRTOS-Plus-TCP
tfm-ns-interface tfm-ns-interface
mcu-driver-hal
freertos-cmsis-rtos
) )
target_compile_definitions(${LIB_NAME} target_compile_definitions(${LIB_NAME}
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#include "bsp_serial.h" #include "bsp_serial.h"
#include "print_log.h" #include "print_log.h"
#include "cmsis_os2.h" #include "cmsis_os2.h"
#include "RTE_Components.h" #include "RTOS_config.h"
/* includes for TFM */ /* includes for TFM */
#include "tfm_ns_interface.h" #include "tfm_ns_interface.h"
#include "psa/protected_storage.h" #include "psa/protected_storage.h"
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include "cmsis_os2.h" #include "cmsis_os2.h"
#include "print_log.h" #include "print_log.h"
#include "mpu_wrappers.h"
osMutexId_t xUARTMutex __attribute__(( section( "tasks_share" ) )) = NULL; osMutexId_t xUARTMutex __attribute__(( section( "tasks_share" ) )) = NULL;
......
...@@ -28,7 +28,7 @@ extern "C" { ...@@ -28,7 +28,7 @@ extern "C" {
#endif #endif
#include "cmsis_os2.h" #include "cmsis_os2.h"
#include "RTE_Components.h" #include "RTOS_config.h"
#define ERR_LEVEL 3 #define ERR_LEVEL 3
#define WARN_LEVEL 2 #define WARN_LEVEL 2
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment