refactor: remove redundant x9e-hall target entry (#7723)
Co-authored-by: Peter Feerick <5500713+pfeerick@users.noreply.github.com> Co-authored-by: GitHub Copilot <copilot@github.com>
This commit is contained in:
co-authored by
Peter Feerick
GitHub Copilot
parent
0d249f83e9
commit
04f83083f0
@@ -92,7 +92,7 @@ jobs:
|
||||
- x12s;f16
|
||||
- v14;v14lcd;v16
|
||||
- x10;x10express
|
||||
- x7access;x9dp2019;x9e;x9e-hall
|
||||
- x7access;x9dp2019;x9e
|
||||
- nb4p;st16
|
||||
- tx16smk3;t14;t15pro
|
||||
- t22
|
||||
|
||||
@@ -33,7 +33,7 @@ jobs:
|
||||
- x12s
|
||||
- x7access
|
||||
- x9dp2019
|
||||
- x9e;x9e-hall
|
||||
- x9e
|
||||
- mt12
|
||||
- nb4p
|
||||
- st16
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
["FrSky QX7 Access", "x7access-"],
|
||||
["FrSky X9D Plus 2019", "x9dp2019-"],
|
||||
["FrSky X9E", "x9e-"],
|
||||
["FrSky X9E Hall", "x9e-hall-"],
|
||||
["HelloRadioSky V12", "v12-"],
|
||||
["HelloRadioSky V14", "v14-"],
|
||||
["HelloRadioSky V14LCD", "v14lcd-"],
|
||||
|
||||
@@ -92,9 +92,6 @@ get_target_build_options() {
|
||||
x9e)
|
||||
BUILD_OPTIONS+="-DPCB=X9E"
|
||||
;;
|
||||
x9e-hall)
|
||||
BUILD_OPTIONS+="-DPCB=X9E -DSTICKS=HORUS"
|
||||
;;
|
||||
x10)
|
||||
BUILD_OPTIONS+="-DPCB=X10"
|
||||
;;
|
||||
|
||||
+1
-1
@@ -52,7 +52,7 @@ 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.
|
||||
*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.
|
||||
|
||||
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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user