feat: add lab-rv32i-freertos-queue card

This commit is contained in:
user
2026-07-21 19:14:19 +02:00
commit e0e4078015
68 changed files with 37111 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
#ifndef K10_HOST_FREERTOS_H
#define K10_HOST_FREERTOS_H
#include <stddef.h>
#include <stdint.h>
typedef int32_t BaseType_t;
typedef uint32_t UBaseType_t;
typedef uint32_t TickType_t;
struct QueueDefinition
{
UBaseType_t capacity;
UBaseType_t item_size;
uint8_t * storage;
UBaseType_t head;
UBaseType_t tail;
UBaseType_t count;
BaseType_t dynamic_control;
};
typedef struct QueueDefinition * QueueHandle_t;
typedef struct QueueDefinition StaticQueue_t;
#define pdFALSE ( ( BaseType_t ) 0 )
#define pdTRUE ( ( BaseType_t ) 1 )
#define pdFAIL ( ( BaseType_t ) 0 )
#define pdPASS ( ( BaseType_t ) 1 )
#endif