Commit Graph

5 Commits

Author SHA1 Message Date
Lago b31e80a71b feat: battery monitoring, external RTC persistence, SD used-space fix
- Add BQ27220 fuel gauge: reads SOC percentage every 5s
- Add BQ25896 PMIC: detects charging status (pre-charge/fast/done)
- Add MAX31329 external RTC: reads time on boot, syncs from NTP
- Battery UI: icon + percentage in header, cyan when charging
- Fix SD used bytes: fallback to recursive dir walk when usedBytes() returns 0
- Libraries: PMIC_BQ25896, kode_bq27220, kode_MAX31329
2026-04-03 16:25:55 +02:00
Lago 44b6a89b57 fix: FTP storage backend, SD info display, time label alignment
- Fix FTP using FFAT instead of SD_MMC: define both NETWORK_TYPE (6) and
  STORAGE_TYPE (10) with numeric values to bypass FtpServerKey.h guard
- Fix SD capacity showing 'f/f GB': use integer math instead of floats
  (LVGL builtin sprintf lacks %f support)
- Fix time/date labels tilting 45°: set fixed width + LV_TEXT_ALIGN_CENTER
- Switch LVGL sprintf to C stdlib for future float compatibility
2026-04-03 15:41:26 +02:00
Lago 6062083b5e feat: LVGL 9.5 upgrade, FTP server, premium AMOLED UI
- Upgraded LVGL from 8.4 to 9.5.0 (new display/input API)
- Rewrote DisplayManager for LVGL 9 (lv_display_create, tick callback)
- New lv_conf.h for v9.5 with optimized widget selection
- Premium dark AMOLED UI with gradient panels, status dots, storage bar
- Backend: Wi-Fi from SD JSON, NTP Vienna, SimpleFTPServer on SD_MMC
- Removed 6 unused sensor libs, added ArduinoJson + SimpleFTPServer
- Build: 19% RAM, 4.6% Flash — verified compilation success
2026-04-03 15:18:02 +02:00
Lago 4510cfe16c feat: FTP server with Wi-Fi, NTP, LVGL UI — initial working build
- Rewrite main.cpp: SD_MMC mount, Wi-Fi from JSON, NTP Vienna, FTP server
- Add ui.h/ui.cpp: LVGL status screen (IP, FTP status, SD bar, time)
- Add build_framework_libs.py: dynamic ESP32 Core 3.x lib resolution
- Remove unused sensor libs (IMU, magnetometer, fuel gauge, charger)
- Add SimpleFTPServer + ArduinoJson dependencies
- Build succeeds: RAM 19.2%, Flash 4.2%
2026-04-03 14:13:09 +02:00
Lago a3d9840a92 Initial commit: Base Project for Kode Dot (ESP32-S3) 2026-04-03 13:21:23 +02:00