-
Notifications
You must be signed in to change notification settings - Fork 46
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 verbose_rc_override
- Loading branch information
Showing
38 changed files
with
1,018 additions
and
337 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
Submodule airbourne
updated
18 files
+235 −0 | examples/analog/Makefile | |
+74 −0 | examples/analog/main.cpp | |
+50 −13 | examples/backup_sram/main.cpp | |
+236 −0 | examples/battery_monitor/Makefile | |
+71 −0 | examples/battery_monitor/main.cpp | |
+117 −0 | include/analog_digital_converter.h | |
+75 −0 | include/analog_pin.h | |
+4 −5 | include/backup_sram.h | |
+111 −0 | include/battery_monitor.h | |
+23 −9 | include/revo_f4.h | |
+19 −0 | include/system.h | |
+1 −1 | lib/vcp/usb_bsp.c | |
+130 −0 | src/analog_digital_converter.cpp | |
+50 −0 | src/analog_pin.cpp | |
+12 −38 | src/backup_sram.cpp | |
+69 −0 | src/battery_monitor.cpp | |
+3 −0 | src/system.c | |
+1 −1 | src/uart.cpp |
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.