fix cyd_35r backlight/GT911 for ESP32-3248S035C (BL=27).

Wrong TFT_BL=21 caused black screens; INT is separate from backlight. Rebuild, flash COM3, and ship firmware/cyd_35r package.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-25 18:47:02 +08:00
parent d5b37d021f
commit dab8de43dc
16 changed files with 425 additions and 46 deletions

View File

@@ -67,21 +67,5 @@ foreach ($h in $hashes) {
}
$lines | Set-Content -Encoding utf8 (Join-Path $dst "VERSION.txt")
# Keep / refresh meta.json boardId for catalog filtering
$metaPath = Join-Path $dst "meta.json"
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\")"
}
$meta | ConvertTo-Json -Depth 8 | Set-Content -Encoding utf8 $metaPath
} catch {
Write-Host "meta.json update skipped: $_"
}
} elseif ($Env -eq "cyd_35r") {
Write-Host "Note: add firmware/cyd_35r/meta.json with boardId=$boardIdHint for the web catalog"
}
Write-Host "Exported -> $dst (env=$Env git=$git)"