feat: Draft architecture for incp hub

This commit is contained in:
2026-06-26 19:18:52 +01:00
commit 63ea1551ad
150 changed files with 137695 additions and 0 deletions

22
app/src/main.c Normal file
View File

@@ -0,0 +1,22 @@
#include "main.h"
#include "FreeRTOS.h"
#include "task.h"
#include "tasks/heartbeat_task.h"
#include "incphub/incphub_task.h"
int my_main()
{
// Init
incphub_task_preinit();
// Create tasks
xTaskCreateStatic(heartbeat_task_main, "heartbeat", HEARTBEAT_TASK_STACK_DEPTH, NULL, HEARTBEAT_TASK_PRIORITY, _heartbeat_task_stack, &_heartbeat_task);
xTaskCreateStatic(incphub_task_main, "incphub", INCPHUB_TASK_STACK_DEPTH, NULL, INCPHUB_TASK_PRIORITY, _incphub_task_stack, &_incphub_task);
// Run
vTaskStartScheduler();
return 0;
}