-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into device_manager
# Conflicts: # boards/airbourne/Makefile # boards/airbourne/airbourne # boards/airbourne/airbourne_board.cpp # boards/airbourne/airbourne_board.h # comms/mavlink/mavlink.h # docs/user-guide/hardware-setup.md # docs/user-guide/parameter-configuration.md # include/interface/comm_link.h # include/param.h # include/sensors.h # src/comm_manager.cpp # src/param.cpp # src/sensors.cpp # test/test_board.h
- Loading branch information
Showing
37 changed files
with
828 additions
and
369 deletions.
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,25 @@ | ||
name: Documentation | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.x | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: '3.x' | ||
architecture: 'x64' | ||
- name: Display Python version | ||
run: python -c "import sys; print(sys.version)" | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install mkdocs mkdocs-material pygments pymdown-extensions | ||
- name: Build Documentation | ||
run: | | ||
mkdocs build -s |
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,21 @@ | ||
name: F1 Firmware | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: checkout submodules | ||
run: git submodule update --init --recursive | ||
- name: install toolchain | ||
run: | | ||
sudo add-apt-repository -y -u ppa:team-gcc-arm-embedded/ppa | ||
sudo apt -y install gcc-arm-embedded | ||
- name: check toolchain | ||
run: arm-none-eabi-gcc --version | ||
- name: make | ||
run: make BOARD=NAZE -j4 -l4 |
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,21 @@ | ||
name: F4 Firmware | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: checkout submodules | ||
run: git submodule update --init --recursive | ||
- name: install toolchain | ||
run: | | ||
sudo add-apt-repository -y -u ppa:team-gcc-arm-embedded/ppa | ||
sudo apt -y install gcc-arm-embedded | ||
- name: check toolchain | ||
run: arm-none-eabi-gcc --version | ||
- name: make | ||
run: make BOARD=REVO -j4 -l4 |
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,37 @@ | ||
--- | ||
name: "pre-release" | ||
|
||
on: | ||
push: | ||
branches: | ||
- "master" | ||
|
||
jobs: | ||
pre-release: | ||
name: "Pre Release" | ||
runs-on: "ubuntu-latest" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: checkout submodules | ||
run: git submodule update --init --recursive | ||
- name: install toolchain | ||
run: | | ||
sudo add-apt-repository -y -u ppa:team-gcc-arm-embedded/ppa | ||
sudo apt -y install gcc-arm-embedded | ||
- name: check toolchain | ||
run: arm-none-eabi-gcc --version | ||
- name: make_f4 | ||
run: make BOARD=REVO -j4 -l4 | ||
- name: make_f1 | ||
run: make BOARD=NAZE -j4 -l4 | ||
|
||
- uses: "marvinpinto/action-automatic-releases@latest" | ||
with: | ||
repo_token: "${{ secrets.GITHUB_TOKEN }}" | ||
automatic_release_tag: "latest" | ||
prerelease: true | ||
title: "Development Build" | ||
files: | | ||
boards/airbourne/build/rosflight_REVO_Release.bin | ||
boards/breezy/build/rosflight_NAZE_Release.hex |
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,35 @@ | ||
--- | ||
name: "Release" | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 | ||
|
||
jobs: | ||
release: | ||
name: "Release" | ||
runs-on: "ubuntu-latest" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: checkout submodules | ||
run: git submodule update --init --recursive | ||
- name: install toolchain | ||
run: | | ||
sudo add-apt-repository -y -u ppa:team-gcc-arm-embedded/ppa | ||
sudo apt -y install gcc-arm-embedded | ||
- name: check toolchain | ||
run: arm-none-eabi-gcc --version | ||
- name: make_f4 | ||
run: make BOARD=REVO -j4 -l4 | ||
- name: make_f1 | ||
run: make BOARD=NAZE -j4 -l4 | ||
|
||
- uses: "marvinpinto/action-automatic-releases@latest" | ||
with: | ||
repo_token: "${{ secrets.GITHUB_TOKEN }}" | ||
prerelease: false | ||
files: | | ||
boards/airbourne/build/rosflight_REVO_Release.bin | ||
boards/breezy/build/rosflight_NAZE_Release.hex |
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,35 @@ | ||
name: Unit Tests | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: clone | ||
run: git submodule update --init --recursive | ||
- name: apt install | ||
run: sudo apt-get install -y build-essential cmake libgtest-dev libeigen3-dev | ||
- name: install gtest | ||
run: | | ||
cd /usr/src/gtest | ||
sudo cmake CMakeLists.txt | ||
sudo make | ||
sudo cp *.a /usr/lib | ||
- name: cmake | ||
run: | | ||
cd test | ||
mkdir build | ||
cd build | ||
cmake .. -DCMAKE_BUILD_TYPE=Release | ||
- name: make | ||
run: | | ||
cd test/build | ||
make | ||
- name: test | ||
run: | | ||
cd test/build | ||
./unit_tests |
This file was deleted.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.