Link protocol v2, ESP-NOW leg, gauge tunables + tuning screen; remove Home screen
Protocol v2 (shared header, byte-identical with the 1.3 repo): - typed DATA/CONFIG frames: 0xAA | ver | type | len | payload | XOR | 0x55 - gear split into lever (P/R/N/D/S/M) + target/engaged nibbles, engine rpm, alert bitmap decided here from tunable thresholds, link_config_t tunables - docs/UART_PROTOCOL.md rewritten for v2 Controller A modules: - tunables: gauge calibration + alert thresholds in NVS, 'cfg' serial console, bench override (never persisted) - espnow_link: every frame also broadcast on ESP-NOW ch 1; radio stays in STA (WiFiManager no longer powers it off) - uart_manager: DATA at 5 Hz + CONFIG on change/5 s on both transports - can_driver: publishes gear pieces and rpm, evaluates alerts - tuning_screen: hand-coded Gauge Tuning page (swipe right from Driveline), -/+ rows, enable switches, override sliders, Driveline/Defaults buttons UI: SquareLine Home screen (3 meters + battery) and meters_manager removed; Driveline is the boot screen; Settings back-gesture calls app_show_driveline(). tools/fix_penv_deps.ps1: repairs the shared PlatformIO penv after a 1.3 build. Bench-verified with Controller B: both transports alive, dedupe, override rpm 2000 -> 133.3 Hz tach output. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -28,7 +28,6 @@ extern "C" {
|
||||
#include "ui_themes.h"
|
||||
|
||||
///////////////////// SCREENS ////////////////////
|
||||
#include "screens/ui_Home_Screen.h"
|
||||
#include "screens/ui_Settings_Screen.h"
|
||||
|
||||
///////////////////// VARIABLES ////////////////////
|
||||
@@ -37,10 +36,6 @@ extern "C" {
|
||||
extern lv_obj_t * ui____initial_actions0;
|
||||
|
||||
// IMAGES AND IMAGE SETS
|
||||
LV_IMG_DECLARE(ui_img_enginetemp_png); // assets/EngineTemp.png
|
||||
LV_IMG_DECLARE(ui_img_engineoiltemp_png); // assets/EngineOilTemp.png
|
||||
LV_IMG_DECLARE(ui_img_gearboxoiltemp_png); // assets/GearBoxOilTemp.png
|
||||
LV_IMG_DECLARE(ui_img_batteryvoltagebig_png); // assets/BatteryVoltageBig.png
|
||||
|
||||
// UI INIT
|
||||
void ui_init(void);
|
||||
|
||||
Reference in New Issue
Block a user