Add CYD GY30 light dashboard (BH1750 on SDA22/SCL27).

Port the temperature/sgp30test LVGL layout for lux/level gauges with scene bar and trend chart.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-20 11:20:13 +08:00
commit fab6af3ed3
16 changed files with 1044 additions and 0 deletions

27
firmware/README.md Normal file
View File

@@ -0,0 +1,27 @@
# 预编译固件(可随时刷写)
当前归档目录:[`cyd_28r/`](cyd_28r/)
对应板子:**CYD ESP32-2432S028R**(ILI9341),GY30 → SDA=GPIO22 / SCL=GPIO27。
版本信息见 [`cyd_28r/VERSION.txt`](cyd_28r/VERSION.txt)。
## 直接刷写(无需重新编译)
```powershell
cd firmware\cyd_28r
.\flash.ps1
# 或指定端口
.\flash.ps1 -Port COM3
```
也可运行 `flash.bat`。
依赖其一:已安装 PlatformIO(`pio`),或 `pip install esptool`。
## 从源码重新打包
在仓库根目录:
```powershell
.\firmware\export_from_build.ps1
```