feat: add lab-rv32i-freertos-task-wrapper card

This commit is contained in:
user
2026-07-21 19:14:20 +02:00
commit 50c425c88e
65 changed files with 33756 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#ifndef K07_HOST_FREERTOS_H
#define K07_HOST_FREERTOS_H
#include <stdint.h>
typedef int32_t BaseType_t;
typedef uint32_t UBaseType_t;
typedef uint32_t configSTACK_DEPTH_TYPE;
typedef void * TaskHandle_t;
#define pdPASS ( ( BaseType_t ) 1 )
#define pdFAIL ( ( BaseType_t ) 0 )
#endif
+24
View File
@@ -0,0 +1,24 @@
#ifndef K07_HOST_TASK_H
#define K07_HOST_TASK_H
#include "FreeRTOS.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef void ( * TaskFunction_t )( void * );
BaseType_t xTaskCreate( TaskFunction_t entry,
const char * name,
configSTACK_DEPTH_TYPE stack_words,
void * context,
UBaseType_t priority,
TaskHandle_t * handle );
void vTaskDelete( TaskHandle_t handle );
#ifdef __cplusplus
}
#endif
#endif