Files
gy30test/firmware/README.md
DESKTOP-PUHFO60\dsx2016 d81383aaf6 Fix 3.5C board pins per CYD guide: BL=27, GY30 SCL=21.
Correct black-screen backlight, free GPIO21 after GT911 init (Wire1), export/flash cyd_35r package.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-25 11:19:52 +08:00

31 lines
759 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 预编译固件(可随时刷写)
| 目录 | 板子 |
|------|------|
| [`cyd_28r/`](cyd_28r/) | CYD ESP32-2432S028R(2.8" ILI9341),GY30 → SDA=GPIO22 / SCL=GPIO27 |
| [`cyd_35r/`](cyd_35r/) | CYD ESP32-3248S035C(3.5" ST7796 + GT911),GY30 → SDA=GPIO22 / SCL=GPIO21 |
版本信息见各目录 `VERSION.txt`。
## 直接刷写(无需重新编译)
```powershell
cd firmware\cyd_28r # 或 cyd_35r
.\flash.ps1
# 或指定端口
.\flash.ps1 -Port COM3
```
也可运行 `flash.bat`。
依赖其一:已安装 PlatformIO(`pio`),或 `pip install esptool`。
## 从源码重新打包
在仓库根目录:
```powershell
.\firmware\export_from_build.ps1 # 2.8
.\firmware\export_from_build.ps1 -Env cyd_35r # 3.5
```