set MCP2515 TX buffers to 1 to send frames in FIFO order #7
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
name: build | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: sudo apt update | |
- run: sudo apt install -y gcc-arm-none-eabi | |
- run: PICO_SDK_FETCH_FROM_GIT=1 cmake -S . -B build | |
- run: cmake --build build --parallel $(nproc) | |
- run: make tests/stress | |
- uses: actions/[email protected] | |
with: | |
name: gs_usb_fw | |
path: build/*.uf2 | |
- uses: softprops/action-gh-release@v2 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: build/*.uf2 | |
precommit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v2 | |
- run: pip install pre-commit | |
- run: pre-commit run --show-diff-on-failure --color=always --all-files |