-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ef09e52
Showing
3,530 changed files
with
2,635,378 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
;;; Directory Local Variables -*- no-byte-compile: t -*- | ||
;;; For more information see (info "(emacs) Directory Variables") | ||
|
||
((nil . ((c-basic-offset . 4) | ||
(c-default-style . "k&r")))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.git/ | ||
.vagrant/ | ||
.vscode/ | ||
/build/ | ||
/obj/ | ||
/tools/ | ||
/downloads/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
*.md text | ||
*.c text | ||
*.h text | ||
*.cc text | ||
*.S text | ||
*.s text | ||
*.hex -crlf -diff | ||
*.elf -crlf -diff | ||
*.ld text | ||
Makefile text | ||
*.bat eol=crlf | ||
*.txt text | ||
*.sh text eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
name: "\U0001F41B Bug report" | ||
about: Report an issue to help make INAV better | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**PLEASE MAKE SURE YOU READ AND UNDERSTAND THE SOCIAL MEDIA SUPPORT CHANNELS. QUESTIONS ABOUT FLASHING, CONFIGURING, PILOTING MAY BE CLOSED WITHOUT FURTHER INTERACTION.** | ||
|
||
* [INAV Discord Server](https://discord.gg/peg2hhbYwN) | ||
* [INAV Official on Facebook](https://www.facebook.com/groups/INAVOfficial) | ||
* [INAV Official on Telegram](https://t.me/INAVFlight) | ||
|
||
**Please double-check that nobody reported the issue before by using search in this bug tracker.** | ||
|
||
**PLEASE DELETE THE TEXT ABOVE AFTER READING AND UNDERSTANDING IT** | ||
|
||
**** | ||
|
||
|
||
## Current Behavior | ||
<!-- If applicable, add screenshots, videos and blackbox logs to help explain your problem. --> | ||
|
||
## Steps to Reproduce | ||
<!-- Steps to reproduce the behavior: --> | ||
1. | ||
2. | ||
3. | ||
4. | ||
|
||
## Expected behavior | ||
<!-- A clear and concise description of what you expected to happen. --> | ||
|
||
## Suggested solution(s) | ||
<!-- How could we solve this issue? What changes would need to made to INAV? --> | ||
|
||
## Additional context | ||
<!-- Add any other context about the problem here. --> | ||
<!-- Go to CLI, execute `dump` command copy its output to [PasteBin](https://pastebin.com) and provide a link to a paste here --> | ||
|
||
--- | ||
<!-- PLEASE FILL THIS OUT --> | ||
<!-- Use CLI 'version' command to get version string --> | ||
|
||
- FC Board name and vendor: | ||
- INAV version string: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
name: "\U0001F680Feature request" | ||
about: Suggest a new feature for INAV | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
## Current Behavior | ||
<!-- A clear and concise description of what is the current behavior / usecase. --> | ||
|
||
## Desired Behavior | ||
<!-- A clear and concise description of what you want to happen. --> | ||
|
||
## Suggested Solution | ||
<!-- Suggest a solution that the community/maintainers/you may take to enable the desired behavior --> | ||
<!-- NOTE: Feature Requests without suggested solutions may not be addressed with the same level of urgency as those that have suggested solutions --> | ||
|
||
## Who does this impact? Who is this for? | ||
<!-- Who is this for? All users? Airplane users? Beginners? Advanced? Yourself? People using X, Y, Z, etc.? --> | ||
|
||
## Additional context | ||
<!-- Add any other context or links about the feature request here. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
label-alias: | ||
bug: 'BUG' | ||
feature_request: 'Feature request' | ||
question: 'Support' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Configuration for probot-no-response - https://github.com/probot/no-response | ||
|
||
# Number of days of inactivity before an Issue is closed for lack of response | ||
daysUntilClose: 3 | ||
# Label requiring a response | ||
responseRequiredLabel: Missing Information | ||
# Comment to post when closing an Issue for lack of response. Set to `false` to disable | ||
closeComment: > | ||
This issue has been automatically closed because the information we asked | ||
to be provided when opening it was not supplied by the original author. | ||
With only the information that is currently in the issue, we don't have | ||
enough information to take action. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Configuration for probot-stale - https://github.com/probot/stale | ||
|
||
# Number of days of inactivity before an Issue or Pull Request becomes stale | ||
daysUntilStale: 60 | ||
|
||
# Number of days of inactivity before a stale Issue or Pull Request is closed. | ||
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale. | ||
daysUntilClose: 14 | ||
|
||
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable | ||
exemptLabels: | ||
- BUG | ||
- Feature Request | ||
- Pinned | ||
|
||
# Set to true to ignore issues in a project (defaults to false) | ||
exemptProjects: false | ||
|
||
# Set to true to ignore issues in a milestone (defaults to false) | ||
exemptMilestones: true | ||
|
||
# Label to use when marking as stale | ||
staleLabel: Inactive | ||
|
||
# Comment to post when marking as stale. Set to `false` to disable | ||
markComment: > | ||
This issue / pull request has been automatically marked as stale because it | ||
has not had any activity in 60 days. The resources of the INAV team are limited, | ||
and so we are asking for your help. | ||
This issue / pull request will be closed if no further activity occurs within two weeks. | ||
# Comment to post when removing the stale label. | ||
# unmarkComment: > | ||
# Your comment here. | ||
|
||
# Comment to post when closing a stale Issue or Pull Request. | ||
closeComment: > | ||
Automatically closing as inactive. | ||
# Limit the number of actions per hour, from 1-30. Default is 30 | ||
limitPerRun: 30 | ||
|
||
# Limit to only `issues` or `pulls` | ||
# only: issues | ||
|
||
# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls': | ||
# pulls: | ||
# daysUntilStale: 30 | ||
# markComment: > | ||
# This pull request has been automatically marked as stale because it has not had | ||
# recent activity. It will be closed if no further activity occurs. Thank you | ||
# for your contributions. | ||
|
||
# issues: | ||
# exemptLabels: | ||
# - confirmed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,156 @@ | ||
name: Build firmware | ||
# Don't enable CI on push, just on PR. If you | ||
# are working on the main repo and want to trigger | ||
# a CI build submit a draft PR. | ||
on: pull_request | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
id: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install dependencies | ||
run: sudo apt-get update && sudo apt-get -y install ninja-build | ||
- name: Setup environment | ||
env: | ||
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | ||
run: | | ||
# This is the hash of the commit for the PR | ||
# when the action is triggered by PR, empty otherwise | ||
COMMIT_ID=${{ github.event.pull_request.head.sha }} | ||
# This is the hash of the commit when triggered by push | ||
# but the hash of refs/pull/<n>/merge, which is different | ||
# from the hash of the latest commit in the PR, that's | ||
# why we try github.event.pull_request.head.sha first | ||
COMMIT_ID=${COMMIT_ID:-${{ github.sha }}} | ||
BUILD_SUFFIX=ci-$(date '+%Y%m%d')-$(git rev-parse --short ${COMMIT_ID}) | ||
VERSION=$(grep project CMakeLists.txt|awk -F VERSION '{ gsub(/^[ \t]+|[ \t\)]+$/, "", $2); print $2 }') | ||
echo "BUILD_SUFFIX=${BUILD_SUFFIX}" >> $GITHUB_ENV | ||
echo "BUILD_NAME=inav-${VERSION}-${BUILD_SUFFIX}" >> $GITHUB_ENV | ||
- uses: actions/cache@v1 | ||
with: | ||
path: downloads | ||
key: ${{ runner.os }}-downloads-${{ hashFiles('CMakeLists.txt') }}-${{ hashFiles('**/cmake/*')}} | ||
- name: Build targets (${{ matrix.id }}) | ||
run: mkdir -p build && cd build && cmake -DWARNINGS_AS_ERRORS=ON -DCI_JOB_INDEX=${{ matrix.id }} -DCI_JOB_COUNT=${{ strategy.job-total }} -DBUILD_SUFFIX=${{ env.BUILD_SUFFIX }} -G Ninja .. && ninja ci | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ${{ env.BUILD_NAME }} | ||
path: ./build/*.hex | ||
|
||
build-SITL-Linux: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install dependencies | ||
run: sudo apt-get update && sudo apt-get -y install ninja-build | ||
- name: Setup environment | ||
env: | ||
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | ||
run: | | ||
# This is the hash of the commit for the PR | ||
# when the action is triggered by PR, empty otherwise | ||
COMMIT_ID=${{ github.event.pull_request.head.sha }} | ||
# This is the hash of the commit when triggered by push | ||
# but the hash of refs/pull/<n>/merge, which is different | ||
# from the hash of the latest commit in the PR, that's | ||
# why we try github.event.pull_request.head.sha first | ||
COMMIT_ID=${COMMIT_ID:-${{ github.sha }}} | ||
BUILD_SUFFIX=ci-$(date '+%Y%m%d')-$(git rev-parse --short ${COMMIT_ID}) | ||
VERSION=$(grep project CMakeLists.txt|awk -F VERSION '{ gsub(/^[ \t]+|[ \t\)]+$/, "", $2); print $2 }') | ||
echo "BUILD_SUFFIX=${BUILD_SUFFIX}" >> $GITHUB_ENV | ||
echo "BUILD_NAME=inav-${VERSION}-${BUILD_SUFFIX}" >> $GITHUB_ENV | ||
- name: Build SITL | ||
run: mkdir -p build_SITL && cd build_SITL && cmake -DSITL=ON -DWARNINGS_AS_ERRORS=ON -G Ninja .. && ninja | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ${{ env.BUILD_NAME }}_SITL | ||
path: ./build_SITL/*_SITL | ||
|
||
build-SITL-Mac: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install dependencies | ||
run: | | ||
brew install cmake ninja ruby | ||
- name: Setup environment | ||
env: | ||
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | ||
run: | | ||
# This is the hash of the commit for the PR | ||
# when the action is triggered by PR, empty otherwise | ||
COMMIT_ID=${{ github.event.pull_request.head.sha }} | ||
# This is the hash of the commit when triggered by push | ||
# but the hash of refs/pull/<n>/merge, which is different | ||
# from the hash of the latest commit in the PR, that's | ||
# why we try github.event.pull_request.head.sha first | ||
COMMIT_ID=${COMMIT_ID:-${{ github.sha }}} | ||
BUILD_SUFFIX=ci-$(date '+%Y%m%d')-$(git rev-parse --short ${COMMIT_ID}) | ||
VERSION=$(grep project CMakeLists.txt|awk -F VERSION '{ gsub(/^[ \t]+|[ \t\)]+$/, "", $2); print $2 }') | ||
echo "BUILD_SUFFIX=${BUILD_SUFFIX}" >> $GITHUB_ENV | ||
echo "BUILD_NAME=inav-${VERSION}-${BUILD_SUFFIX}" >> $GITHUB_ENV | ||
- name: Build SITL | ||
run: | | ||
mkdir -p build_SITL && cd build_SITL | ||
cmake -DSITL=ON -DWARNINGS_AS_ERRORS=ON -G Ninja .. | ||
ninja | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ${{ env.BUILD_NAME }}_SITL-MacOS | ||
path: ./build_SITL/*_SITL | ||
|
||
build-SITL-Windows: | ||
runs-on: windows-latest | ||
defaults: | ||
run: | ||
shell: C:\tools\cygwin\bin\bash.exe -o igncr '{0}' | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup Cygwin | ||
uses: egor-tensin/setup-cygwin@v4 | ||
with: | ||
packages: cmake ruby ninja gcc-g++ | ||
- name: Setup environment | ||
env: | ||
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | ||
run: | | ||
# This is the hash of the commit for the PR | ||
# when the action is triggered by PR, empty otherwise | ||
COMMIT_ID=${{ github.event.pull_request.head.sha }} | ||
# This is the hash of the commit when triggered by push | ||
# but the hash of refs/pull/<n>/merge, which is different | ||
# from the hash of the latest commit in the PR, that's | ||
# why we try github.event.pull_request.head.sha first | ||
COMMIT_ID=${COMMIT_ID:-${{ github.sha }}} | ||
BUILD_SUFFIX=ci-$(date '+%Y%m%d')-$(git rev-parse --short ${COMMIT_ID}) | ||
VERSION=$(grep project CMakeLists.txt|awk -F VERSION '{ gsub(/^[ \t]+|[ \t\)]+$/, "", $2); print $2 }') | ||
echo "BUILD_SUFFIX=${BUILD_SUFFIX}" >> $GITHUB_ENV | ||
echo "BUILD_NAME=inav-${VERSION}-${BUILD_SUFFIX}" >> $GITHUB_ENV | ||
- name: Build SITL | ||
run: mkdir -p build_SITL && cd build_SITL && cmake -DSITL=ON -DWARNINGS_AS_ERRORS=ON -G Ninja .. && ninja | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ${{ env.BUILD_NAME }}_SITL-WIN | ||
path: ./build_SITL/*.exe | ||
|
||
|
||
test: | ||
needs: [build] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install dependencies | ||
run: sudo apt-get update && sudo apt-get -y install ninja-build | ||
- name: Run Tests | ||
run: mkdir -p build && cd build && cmake -DTOOLCHAIN=none -G Ninja .. && ninja check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Make sure docs are updated | ||
on: | ||
pull_request: | ||
paths: | ||
- src/main/fc/settings.yaml | ||
- docs/Settings.md | ||
push: | ||
paths: | ||
- src/main/fc/settings.yaml | ||
- docs/Settings.md | ||
|
||
jobs: | ||
settings_md: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install dependencies | ||
run: sudo apt-get update && sudo apt-get -y install python3-yaml | ||
- name: Check that Settings.md is up to date | ||
run: | | ||
cp docs/Settings.md{,.ci} | ||
python3 src/utils/update_cli_docs.py -q | ||
if ! diff -q docs/Settings.md{,.ci} >/dev/null; then | ||
echo "::error ::\"docs/Settings.md\" is not up to date, please run \"src/utils/update_cli_docs.py\"" | ||
exit 1 | ||
fi |
Oops, something went wrong.