Skip to content

Commit ceaf1e9

Browse files
committed
Merge remote-tracking branch 'origin/master' into MrD_Add-targets-for-SEQUREH7-and-SEQUREH7V2
2 parents 904f1ac + 17fc349 commit ceaf1e9

Some content is hidden

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

51 files changed

+1001
-2566
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
This pull requests adds support for ``$TARGET_NAME``
2+
3+
* [ ] Target complies with ``docs/policies/NEW_HARDWARE_POLICY.md``
4+
5+
The following items have been checked and confirmed working by an INAV developer on actual hardware: (feel free to remove non-relevant items)
6+
7+
* [ ] Samples received
8+
* [ ] Flash firmware
9+
* [ ] Calibrate
10+
* [ ] Orientation matches
11+
* [ ] Gyro working
12+
* [ ] Accel working
13+
* [ ] Voltage correct
14+
* [ ] Current correct
15+
* [ ] Baro working
16+
* [ ] Mag I2C Bus
17+
* [ ] Additional I2C2 Buses (Airspeed/other accessories)
18+
* [ ] UART1
19+
* [ ] UART2
20+
* [ ] UART3
21+
* [ ] UART4
22+
* [ ] UART5
23+
* [ ] UART6
24+
* [ ] UART7
25+
* [ ] UART8
26+
* [ ] Analog Camera working
27+
* [ ] Video Out working
28+
* [ ] OSD working
29+
* [ ] LEDs working
30+
* [ ] Buzzer working
31+
* [ ] Motor outputs
32+
* [ ] DShot support on m1-4
33+
* [ ] Servo outputs
34+
* [ ] Blackbox
35+
* [ ] PINIO1
36+
* [ ] PINIO2
37+
* [ ] PINIO3
38+
* [ ] PINIO4

.github/workflows/ci.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ on:
1313
- 'CMakeLists.txt'
1414
- '*.sh'
1515

16+
workflow_call:
17+
#inputs:
18+
# release_build:
19+
# description: 'Specifies if it is a build that should include commit hash in hex file names or not'
20+
# default: false
21+
# required: false
22+
# type: boolean
23+
24+
1625
jobs:
1726
build:
1827
runs-on: ubuntu-latest
@@ -37,7 +46,7 @@ jobs:
3746
# why we try github.event.pull_request.head.sha first
3847
COMMIT_ID=${COMMIT_ID:-${{ github.sha }}}
3948
BUILD_SUFFIX=ci-$(date '+%Y%m%d')-$(git rev-parse --short ${COMMIT_ID})
40-
VERSION=$(grep project CMakeLists.txt|awk -F VERSION '{ gsub(/^[ \t]+|[ \t\)]+$/, "", $2); print $2 }')
49+
VERSION=$(grep project CMakeLists.txt|awk -F VERSION '{ gsub(/[ \t)]/, "", $2); print $2 }')
4150
echo "BUILD_SUFFIX=${BUILD_SUFFIX}" >> $GITHUB_ENV
4251
echo "BUILD_NAME=inav-${VERSION}-${BUILD_SUFFIX}" >> $GITHUB_ENV
4352
echo "NUM_CORES=$(grep processor /proc/cpuinfo | wc -l)" >> $GITHUB_ENV
@@ -72,7 +81,7 @@ jobs:
7281
# why we try github.event.pull_request.head.sha first
7382
COMMIT_ID=${COMMIT_ID:-${{ github.sha }}}
7483
BUILD_SUFFIX=ci-$(date '+%Y%m%d')-$(git rev-parse --short ${COMMIT_ID})
75-
VERSION=$(grep project CMakeLists.txt|awk -F VERSION '{ gsub(/^[ \t]+|[ \t\)]+$/, "", $2); print $2 }')
84+
VERSION=$(grep project CMakeLists.txt|awk -F VERSION '{ gsub(/[ \t)]/, "", $2); print $2 }')
7685
echo "BUILD_SUFFIX=${BUILD_SUFFIX}" >> $GITHUB_ENV
7786
echo "BUILD_NAME=inav-${VERSION}-${BUILD_SUFFIX}" >> $GITHUB_ENV
7887
echo "NUM_CORES=$(grep processor /proc/cpuinfo | wc -l)" >> $GITHUB_ENV
@@ -115,7 +124,7 @@ jobs:
115124
# why we try github.event.pull_request.head.sha first
116125
COMMIT_ID=${COMMIT_ID:-${{ github.sha }}}
117126
BUILD_SUFFIX=ci-$(date '+%Y%m%d')-$(git rev-parse --short ${COMMIT_ID})
118-
VERSION=$(grep project CMakeLists.txt|awk -F VERSION '{ gsub(/^[ \t]+|[ \t\)]+$/, "", $2); print $2 }')
127+
VERSION=$(grep project CMakeLists.txt|awk -F VERSION '{ gsub(/[ \t)]/, "", $2); print $2 }')
119128
echo "BUILD_SUFFIX=${BUILD_SUFFIX}" >> $GITHUB_ENV
120129
echo "BUILD_NAME=inav-${VERSION}-${BUILD_SUFFIX}" >> $GITHUB_ENV
121130
echo "NUM_CORES=$(grep processor /proc/cpuinfo | wc -l)" >> $GITHUB_ENV
@@ -148,7 +157,7 @@ jobs:
148157
# why we try github.event.pull_request.head.sha first
149158
COMMIT_ID=${COMMIT_ID:-${{ github.sha }}}
150159
BUILD_SUFFIX=ci-$(date '+%Y%m%d')-$(git rev-parse --short ${COMMIT_ID})
151-
VERSION=$(grep project CMakeLists.txt|awk -F VERSION '{ gsub(/^[ \t]+|[ \t\)]+$/, "", $2); print $2 }')
160+
VERSION=$(grep project CMakeLists.txt|awk -F VERSION '{ gsub(/[ \t)]/, "", $2); print $2 }')
152161
echo "BUILD_SUFFIX=${BUILD_SUFFIX}" >> $GITHUB_ENV
153162
echo "BUILD_NAME=inav-${VERSION}-${BUILD_SUFFIX}" >> $GITHUB_ENV
154163
echo "NUM_CORES=$(grep processor /proc/cpuinfo | wc -l)" >> $GITHUB_ENV
@@ -188,7 +197,7 @@ jobs:
188197
# why we try github.event.pull_request.head.sha first
189198
COMMIT_ID=${COMMIT_ID:-${{ github.sha }}}
190199
BUILD_SUFFIX=ci-$(date '+%Y%m%d')-$(git rev-parse --short ${COMMIT_ID})
191-
VERSION=$(grep project CMakeLists.txt|awk -F VERSION '{ gsub(/^[ \t]+|[ \t\)]+$/, "", $2); print $2 }')
200+
VERSION=$( grep project CMakeLists.txt|awk -F VERSION '{ gsub(/[ \t)]/, "", $2); print $2 }' )
192201
echo "BUILD_SUFFIX=${BUILD_SUFFIX}" >> $GITHUB_ENV
193202
echo "BUILD_NAME=inav-${VERSION}-${BUILD_SUFFIX}" >> $GITHUB_ENV
194203

.github/workflows/dev-builds.yml

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

0 commit comments

Comments
 (0)