Phase 4: ST7789 240x320 panel (esp_lcd), 5x7 font, Core 1 UI task, streaming tjpgd JPEG decode + baked storage image

This commit is contained in:
2026-09-09 17:35:54 +02:00
parent ec1e7a0d5a
commit e09ec04946
15 changed files with 631 additions and 4 deletions

29
main/ui_task.h Normal file
View File

@@ -0,0 +1,29 @@
/*
* MTG RFID Companion - UI task (Core 1)
*
* Phase 4: Dedicated renderer task pinned to Core 1. Runs the boot-time
* visual validation sequence (color bars, text, JPEG decode).
*/
#pragma once
#include "esp_err.h"
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Create and start the UI renderer task pinned to Core 1.
*/
esp_err_t ui_task_start(void);
/**
* @brief Block until the Core-1 renderer task has finished its boot demo.
*/
void ui_task_wait_boot(void);
#ifdef __cplusplus
}
#endif