Skip to content

Fix wrong print function: Should be u16, not float #138

Fix wrong print function: Should be u16, not float

Fix wrong print function: Should be u16, not float #138

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