Skip to content

fwk: implement the battery extender feature #77

fwk: implement the battery extender feature

fwk: implement the battery extender feature #77

Workflow file for this run

name: build hx20 firmware
on: [push, workflow_dispatch]
jobs:
build:
name: Build hx20 evt
runs-on: ubuntu-20.04
steps:
- name: install toolchain
run: sudo apt install gcc-arm-none-eabi libftdi1-dev
# Checks out a copy of your repository on the ubuntu-latest machine
- name: Checkout code
uses: actions/checkout@v4
- name: build hx20 board
env:
BOARD: hx20
run: |
make -j BOARD=$BOARD CROSS_COMPILE=arm-none-eabi-
echo Built $BOARD ec
- name: file sha256
run: sha256sum build/hx20/ec.bin
- name: generate artifact version
run: |
echo "VERSIONINFO=$(date -u +'%Y-%m-%d-%H-%M-%S')_$GITHUB_SHA" >> $GITHUB_ENV
- uses: actions/upload-artifact@v4
with:
name: hx20.${{ env.VERSIONINFO }}.bin
path: build/hx20/ec.bin