Skip to content

Commit

Permalink
Merge branch 'master' into quintuna_cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucien950 authored Oct 5, 2024
2 parents e1790e5 + 4e27caa commit 3fec227
Show file tree
Hide file tree
Showing 164 changed files with 14,667 additions and 4,530 deletions.
4 changes: 2 additions & 2 deletions .github/actions/build_binary/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ runs:
- name: Build
shell: bash
run: |
cmake -B ${{ inputs.build_dir }} -DPLATFORM=firmware -DTARGET=deploy -DHANDLE_DEPS=OFF -DFIX_FORMATTING=OFF
xvfb-run make --directory=${{ inputs.build_dir }} -j`nproc` ${{ inputs.board }}.hex
cmake --preset "FW Deploy CI" -B ${{ inputs.build_dir }}
xvfb-run cmake --build ${{ inputs.build_dir }} --target ${{ inputs.board }}.hex
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
with:
board: ${{ matrix.board }}

test:
test-firmware:
needs: [ clang-format ]
name: Test Firmware
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -153,8 +153,8 @@ jobs:

- name: Build
run: |
cmake -B $BUILD_DIR -DPLATFORM=firmware -DTARGET=test -DHANDLE_DEPS=OFF -DFIX_FORMATTING=OFF
make --directory=$BUILD_DIR -j`nproc` ${{ matrix.car }}_${{ matrix.board }}_test
cmake --preset "FW Test CI" -B $BUILD_DIR
cmake --build $BUILD_DIR --target ${{ matrix.car }}_${{ matrix.board }}_test
- name: Run Tests
run: |
Expand Down Expand Up @@ -187,8 +187,8 @@ jobs:

- name: Build
run: |
cmake -B $BUILD_DIR -DPLATFORM=firmware -DTARGET=test -DHANDLE_DEPS=OFF -DFIX_FORMATTING=OFF
make --directory=$BUILD_DIR -j`nproc` shared_test
cmake --preset "FW Test CI" -B $BUILD_DIR
cmake --build $BUILD_DIR --target shared_test
- name: Run tests
run: |
Expand Down Expand Up @@ -221,8 +221,8 @@ jobs:

- name: Build
run: |
cmake -B $BUILD_DIR -DPLATFORM=firmware -DTARGET=test -DNO_VENV=ON -DHANDLE_DEPS=OFF -DFIX_FORMATTING=OFF
make --directory=$BUILD_DIR -j`nproc` fakegen_test
cmake --preset "FW Test CI" -B $BUILD_DIR
cmake --build $BUILD_DIR --target fakegen_test
- name: Run tests
run: |
Expand Down Expand Up @@ -254,6 +254,6 @@ jobs:

- name: Build and install `logfs`
run: |
cmake -B $BUILD_DIR -DPLATFORM=firmware -DTARGET=test -DNO_VENV=ON -DHANDLE_DEPS=OFF -DFIX_FORMATTING=OFF
make --directory=$BUILD_DIR -j`nproc` install_python_logfs
cmake --preset "FW Test CI" -B $BUILD_DIR
cmake --build $BUILD_DIR --target install_python_logfs
pytest -v firmware/logfs/test
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
# Python
*.pyc
__pycache__
Pipfile.lock
*.egg-info

# Other files
Expand Down Expand Up @@ -138,6 +137,8 @@ can_bus/**/*.dbc
# CMake build directories
build_fw_deploy
build_fw_deploy_wsl
build_fw_dev
build_fw_dev_wsl
build_fw_test
build_fw_test_wsl

Expand All @@ -150,5 +151,4 @@ environment/bin
CMakeUserPresets.json
build

zadig.exe
/can_bus/**/*.plt
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
[submodule "firmware/third_party/sbgECom"]
path = firmware/third_party/sbgECom
url = https://github.com/UBCFormulaElectric/sbgECom.git
[submodule "firmware/third_party/SEGGER_SystemView_Src"]
path = firmware/third_party/SEGGER_SystemView_Src
url = https://github.com/UBCFormulaElectric/SEGGER_SystemView_Src.git
[submodule "software/dimos/src/assets"]
path = software/dimos/src/assets
url = https://github.com/UBCFormulaElectric/dimos-assets.git
Expand Down
5 changes: 3 additions & 2 deletions .idea/runConfigurations/Quadruna_BMS.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions .idea/runConfigurations/Quadruna_CRIT.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions .idea/runConfigurations/Quadruna_RSM.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions .idea/runConfigurations/Quadruna_VC.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .idea/runConfigurations/quadruna_BMS_hex.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .idea/runConfigurations/quadruna_CRIT_hex.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .idea/runConfigurations/quadruna_FSM_hex.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .idea/runConfigurations/quadruna_RSM_hex.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 0 additions & 13 deletions .vscode/c_cpp_properties.json

This file was deleted.

Loading

0 comments on commit 3fec227

Please sign in to comment.