feat: broadcast uaux (12V aux battery) on CAN 0x210 (SKUDAK-448) #1
@@ -0,0 +1,38 @@
|
|||||||
|
name: Build Firmware
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build stm32-teslacharger
|
||||||
|
runs-on: fedora
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout with submodules
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Build libopencm3
|
||||||
|
run: make -C libopencm3 -j$(nproc)
|
||||||
|
|
||||||
|
- name: Build firmware
|
||||||
|
run: make -j$(nproc)
|
||||||
|
|
||||||
|
- name: Show binary size
|
||||||
|
run: |
|
||||||
|
arm-none-eabi-size stm32_charger.elf
|
||||||
|
ls -lh stm32_charger.bin
|
||||||
|
|
||||||
|
- name: Upload binary
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: stm32-teslacharger-${{ github.sha }}
|
||||||
|
path: stm32_charger.bin
|
||||||
|
retention-days: 30
|
||||||
Reference in New Issue
Block a user