Skip to content

Commit 2c5bfcb

Browse files
authored
Use external targets repo (ExpressLRS#2400)
1 parent 4d5b3d7 commit 2c5bfcb

86 files changed

Lines changed: 13 additions & 4010 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build.yml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -41,20 +41,6 @@ jobs:
4141
platformio pkg update
4242
PLATFORMIO_BUILD_FLAGS="-DRegulatory_Domain_ISM_2400" pio test -e native
4343
44-
validation:
45-
runs-on: ubuntu-latest
46-
steps:
47-
- name: Checkout
48-
uses: actions/checkout@v3
49-
- name: Set up Python
50-
uses: actions/setup-python@v4
51-
with:
52-
python-version: '3.10'
53-
- name: Validate target files
54-
run: |
55-
cd src
56-
python python/targets_validator.py
57-
5844
targets:
5945
runs-on: ubuntu-latest
6046
outputs:
@@ -139,14 +125,20 @@ jobs:
139125
continue-on-error: true
140126

141127
firmware:
142-
needs: [build, validation, test]
128+
needs: [build, test]
143129
runs-on: ubuntu-latest
144130
steps:
145131
- name: Checkout code
146132
uses: actions/checkout@v3
147133
with:
148134
fetch-depth: 0
149135

136+
- name: Checkout targets repo
137+
uses: actions/checkout@v3
138+
with:
139+
repository: ExpressLRS/targets
140+
path: src/hardware
141+
150142
- name: Get firmware artifacts
151143
uses: actions/download-artifact@v3
152144
with:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ src/src/fhss_freqs.h
77
src/.vscode
88
src/data/*.ini
99
src/data/*.json
10+
src/hardware

src/hardware/RX/DIY 900 TTGO V1.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/hardware/RX/DIY 900 TTGO V2.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/hardware/RX/DIY Huzzah RFM95.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/hardware/RX/Frank 2400.json

Lines changed: 0 additions & 37 deletions
This file was deleted.

src/hardware/RX/Generic 2400 Diversity PA.json

Lines changed: 0 additions & 22 deletions
This file was deleted.

src/hardware/RX/Generic 2400 PA RGB.json

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/hardware/RX/Generic 2400 PA.json

Lines changed: 0 additions & 22 deletions
This file was deleted.

src/hardware/RX/Generic 2400 PWMP5.json

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)