From cadff71f2917b1ec8b140ea54a5994b9e438c0c8 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sat, 13 Jun 2026 21:44:36 -0500 Subject: Switch scaffold to C; update boot TODOs to match current spec --- main/app_main.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 main/app_main.cpp (limited to 'main/app_main.cpp') diff --git a/main/app_main.cpp b/main/app_main.cpp deleted file mode 100644 index 55dbd5d..0000000 --- a/main/app_main.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include -#include -#include -#include - -static const char *TAG = "viewport"; - -extern "C" void app_main(void) -{ - ESP_ERROR_CHECK(nvs_flash_init()); - ESP_ERROR_CHECK(esp_netif_init()); - ESP_ERROR_CHECK(esp_event_loop_create_default()); - - ESP_LOGI(TAG, "Scrypted Viewport boot"); - - // TODO: Ethernet (ESP32-P4 EMAC + Waveshare PoE PHY) - // TODO: mDNS _scrypted-viewport._tcp.local - // TODO: HTTP server: /health /config /frame /sleep /brightness - // TODO: MIPI-DSI panel init (800x480 IPS) - // TODO: JPEG decode -> framebuffer - // TODO: Capacitive touch -> callback POST -} -- cgit v1.2.3