Fix 3.5C backlight to GPIO27 and ship GT911 capacitive touch.

Align cyd_35r with CYD guide (BL=27, INT as input after reset); export flashable firmware/cyd_35r.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-25 11:40:41 +08:00
parent 339e97b68f
commit 74fc5085f0
17 changed files with 444 additions and 40 deletions

View File

@@ -73,8 +73,8 @@ if (Test-Path $metaPath) {
try {
$meta = Get-Content $metaPath -Raw | ConvertFrom-Json
$meta.boardId = $boardIdHint
if ($Env -eq "cyd_35r" -and $meta.name -notmatch "3\.5") {
$meta.name = ($meta.name -replace "\s*$","") + " (3.5\")"
if ($Env -eq "cyd_35r" -and $meta.name -notmatch '3\.5') {
$meta.name = ($meta.name -replace '\s*$','') + ' (3.5")'
}
$meta | ConvertTo-Json -Depth 8 | Set-Content -Encoding utf8 $metaPath
} catch {