fix(ci): missing v12 and gx15 simulator targets (#7693)

Co-authored-by: Peter Feerick <5500713+pfeerick@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Peter Feerick
2026-08-22 10:19:03 +10:00
committed by GitHub
co-authored by Peter Feerick Claude Opus 5
parent a51946c4e2
commit e2bcbd6c7f
7 changed files with 1157 additions and 275 deletions
+7 -1
View File
@@ -42,14 +42,20 @@ cp output/*.wasm web/public/
### Supported Radios
The radios available in the web UI are defined in `public/radios.json`. This file is **generated** from the authoritative hardware definitions in `radio/src/boards/hw_defs/`. To regenerate it (e.g. after adding a new radio target):
The radios available in the web UI are defined in `public/radios.json`. This file is **generated** from the authoritative hardware definitions in `radio/src/boards/hw_defs/`. To regenerate it (e.g. after adding a new radio target), from the repo root:
```bash
just gen-radios
# or, without just:
node web/scripts/gen-radios-json.js
```
The script extracts inputs, switches, trims, keys, and display info from the hw_defs JSON files. Key left/right side placement matches Companion's layout.
*Which* radios are included comes from the `targets` list in the repo-root `fw.json`, so a new board only appears here once it is a released target. Targets with no matching hw_defs file are skipped with a warning: `x9e-hall` always warns, as it is a build option of `x9e` rather than a board of its own.
Passing flavour names as arguments limits generation to those radios only — the whole file is rewritten, so use that for inspection, not to update the committed list.
## Architecture
```
+1092 -262
View File
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -123,9 +123,9 @@ function processFlavour(flavour) {
// Display / LCD info
const disp = hw.display ?? {};
const display = {
w: disp.w ?? 480,
h: disp.h ?? 272,
depth: disp.depth ?? 16,
w: disp.lcd_w ?? 480,
h: disp.lcd_h ?? 272,
depth: disp.lcd_depth ?? 16,
};
// WASM filename uses the flavour name directly