Initial commit: Phase 1 skeleton

This commit is contained in:
2026-06-23 08:55:42 +00:00
commit db4b63c755
8 changed files with 488 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
// components/controller/app_task.h
#pragma once
#include <freertos/FreeRTOS.h>
#include <freertos/queue.h>
#include "hal/led_stub.h"
#include "hal/switch_stub.h"
// Application task parameters
struct AppTaskParams {
LedStub* led_driver;
SwitchStub* switch_driver;
QueueHandle_t midi_queue;
};
// Application task function
BaseType_t app_task(void* parameters);
// Application state management
void app_process_midi_event(const MidiEvent& event);
void app_process_switch_event(uint8_t switch_id, bool pressed);
void app_initialize_config();