Decommission SquareLine: delete include/ui, theme set in display_init
Firmware / build (push) Successful in 4m1s

include/ui (SquareLine export: ui_init, placeholder screen, helpers, theme
manager, project metadata) is no longer used - every screen is hand-coded.
The one live line, the dark default LVGL theme, moves to display_init.cpp.
Build filter and include path drop include/ui. Comments, CLAUDE.md and the
stale README sections (features, layout, partitions) updated.

Verified on the board (USB, dev): Wi-Fi on/forget/scan/join, dark keyboard
and dialogs, update check + install of v0.1.5 from the screen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-27 08:17:01 +02:00
parent 5d495f8ad1
commit 34b3fc7ec0
21 changed files with 42 additions and 918 deletions
+2 -10
View File
@@ -5,16 +5,8 @@
* the swap's bus: gear (hero), coolant, gearbox oil temp, engine RPM, turbine
* speed and output shaft, plus ignition / engine / clutch / mismatch status.
*
* WHY THIS IS NOT A SQUARELINE SCREEN
* SquareLine Studio owns include/ui/ and overwrites it on every export. Editing
* generated files loses the edit — that is exactly how the CAN toggle's event
* handler went missing. This screen lives entirely in src/, which SquareLine
* never touches, so it cannot be clobbered. Since 2026-09-21 it IS the boot
* screen: the SquareLine Home screen was removed, and the generated Settings
* screen's back gesture calls app_show_driveline() (defined at the bottom of
* driveline_screen.cpp) to return here.
*
* Navigation: swipe LEFT -> Settings (SquareLine), swipe RIGHT -> Gauge Tuning.
* The boot screen. Navigation: swipe LEFT -> Settings, swipe RIGHT -> Gauge
* Tuning (both hand-coded, like this one).
*
* Signals deliberately NOT shown: engine oil temp (no sensor on this M57N —
* 0x1D0 byte 1 is permanently 0xFF) and battery voltage (0x3B4 publishes the