feat: add lab-rv32i-freertos-mutex card

This commit is contained in:
user
2026-07-21 19:14:19 +02:00
commit 6419a78ff6
67 changed files with 37023 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#ifndef K11_HOST_FREERTOS_H
#define K11_HOST_FREERTOS_H
#include <stdint.h>
typedef int32_t BaseType_t;
typedef uint32_t UBaseType_t;
typedef uint32_t TickType_t;
typedef void * TaskHandle_t;
struct MockSemaphore
{
BaseType_t locked;
TaskHandle_t owner;
};
typedef struct MockSemaphore * SemaphoreHandle_t;
typedef struct MockSemaphore StaticSemaphore_t;
#define pdFALSE ( ( BaseType_t ) 0 )
#define pdTRUE ( ( BaseType_t ) 1 )
#define pdFAIL ( ( BaseType_t ) 0 )
#define pdPASS ( ( BaseType_t ) 1 )
#endif