Skip to content

New ids and fix can frequency #136

New ids and fix can frequency

New ids and fix can frequency #136

Workflow file for this run

name: firmware.build
on:
workflow_dispatch:
push:
branches: [ master ]
paths:
- 'firmware/**'
- '.config/**'
- '.github/**'
pull_request:
branches: [ master ]
paths:
- 'firmware/**'
- '.config/**'
- '.github/**'
jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
# GET DEPENDENCIES
- name: Install dependencies
run: sudo apt-get install -y binutils-avr gcc-avr avr-libc
- run: avr-gcc --version
# BUILD
- name: Build libraries
run: |
cd firmware
./makelibs.sh
- name: Build firmware
run: |
cd firmware
make
# UPLOAD
- name: Upload firmware
uses: actions/upload-artifact@v3
with:
name: Firmware
path: firmware/bin