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>
This commit is contained in:
2026-10-25 11:19:52 +08:00
parent 604fa26f04
commit d81383aaf6
18 changed files with 573 additions and 81 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 {