feat: publish FreeRTOS C FC02 card

This commit is contained in:
2026-07-19 16:36:02 +02:00
commit e3420748ee
208 changed files with 57240 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#include <stddef.h>
#include "task01_first_task.h"
_Static_assert( offsetof( WorkerContext, id ) == 0U,
"worker id must be the first debugger-visible field" );
_Static_assert( sizeof( ( ( WorkerContext * ) 0 )->handle ) == sizeof( TaskHandle_t ),
"the public handle must retain the FreeRTOS ABI type" );
/* Deliberately unsafe compile-only exhibit: C accepts this wrong cast. */
WorkerContext * task01_wrong_context_cast_exhibit( void * supervisor )
{
return ( WorkerContext * ) supervisor;
}