dashboard: add esp32-s3 bringup sketch

This commit is contained in:
2026-06-09 20:45:17 -06:00
parent a93280fce3
commit 64d26a3260
2 changed files with 77 additions and 71 deletions
@@ -0,0 +1,58 @@
/*
Overland Controller
ESP32-S3 Dashboard Bring-Up
Target:
Waveshare ESP32-S3 Touch LCD 5B
1024x600
Purpose:
Verify build environment and establish
the first dashboard firmware entry point.
Future:
LVGL
Cargo ESP API integration
CAN
OBD-II
*/
#include <WiFi.h>
const char* DASHBOARD_VERSION = "0.0.1-bringup";
unsigned long lastPrint = 0;
void setup() {
Serial.begin(115200);
delay(1000);
Serial.println();
Serial.println("================================");
Serial.println("Overland Controller Dashboard");
Serial.println("================================");
Serial.print("Version: ");
Serial.println(DASHBOARD_VERSION);
Serial.println("Target: Waveshare ESP32-S3 Touch LCD 5B");
Serial.println("Display: 1024x600");
Serial.println("API Base: /api/v1");
Serial.println();
}
void loop() {
if (millis() - lastPrint > 5000) {
lastPrint = millis();
Serial.println("--- Dashboard Heartbeat ---");
if (WiFi.status() == WL_CONNECTED) {
Serial.print("WiFi Connected: ");
Serial.println(WiFi.localIP());
} else {
Serial.println("WiFi Not Connected");
}
Serial.println("Cargo API: /api/v1");
Serial.println();
}
}