From f9233bc3cb6deaeed2a7b94e5d36be0e8061dbec Mon Sep 17 00:00:00 2001 From: rusefillc Date: Tue, 23 May 2023 17:31:21 -0400 Subject: [PATCH] progress --- .github/workflows/build-firmware.yaml | 16 ++++++++++++++++ compile.sh | 6 ++++++ signature_AT32F435.h | 2 ++ 3 files changed, 24 insertions(+) create mode 100644 .github/workflows/build-firmware.yaml create mode 100644 compile.sh create mode 100644 signature_AT32F435.h diff --git a/.github/workflows/build-firmware.yaml b/.github/workflows/build-firmware.yaml new file mode 100644 index 0000000..bb18d05 --- /dev/null +++ b/.github/workflows/build-firmware.yaml @@ -0,0 +1,16 @@ +name: Firmware at GHA + +on: [ push, pull_request ] + +jobs: + build-firmware: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + with: + submodules: recursive + + - name: 1. Compile + run: | + bash compile.sh diff --git a/compile.sh b/compile.sh new file mode 100644 index 0000000..e3c5cd8 --- /dev/null +++ b/compile.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +# todo: remove 'atlas' part once we have https://github.com/rusefi/rusefi/issues/5284 +cd ext/rusefi/firmware/config/boards/atlas + +bash ../common_make.sh ../../../../.. custom_platform diff --git a/signature_AT32F435.h b/signature_AT32F435.h new file mode 100644 index 0000000..4e22935 --- /dev/null +++ b/signature_AT32F435.h @@ -0,0 +1,2 @@ +#define SIGNATURE_HASH 1 +#define TS_SIGNATURE "rusEFI AT32F435"