4 Commits

Author SHA1 Message Date
gronod 8550857711 Add LICENSE.md
Build and Package Arduino Firmware / build (push) Failing after 1m7s
2026-06-14 08:44:08 +01:00
gronod 6b7496d643 ci: Update compile-action to compile-sketches to resolve checkout failure
Build and Package Arduino Firmware / build (push) Failing after 2m27s
2026-06-12 15:54:31 +01:00
gronod 5308785d44 ci: add GitHub Actions workflow to build, package, and artifact Arduino firmware
Build and Package Arduino Firmware / build (push) Failing after 39s
2026-06-12 14:14:20 +01:00
gronod 4b8c40a107 chore: add build and sdkconfig files to .gitignore 2026-06-12 14:06:48 +01:00
3 changed files with 85 additions and 0 deletions
+62
View File
@@ -0,0 +1,62 @@
name: Build and Package Arduino Firmware
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Configure Safe Directory
run: |
git config --global --add safe.directory "*"
- name: Set Version Identifier
run: |
git rev-parse --short HEAD > version.txt
echo "Build version (commit ID): $(cat version.txt)"
- name: Compile Arduino Sketch
uses: arduino/compile-sketches@v1
with:
fqbn: esp32:esp32:esp32
platforms: |
- name: esp32:esp32
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
sketch-paths: |
.
cli-compile-flags: |
- --export-binaries
- name: Stage Firmware Binaries
run: |
mkdir -p dist
# The action exports the compiled .bin file into the build directory
find build -name "*.bin" -exec cp {} dist/ \;
- name: Create Flashing Instructions Document
run: |
cat << 'EOF' > dist/README_FLASHING.txt
ESP32 ALDL Bridge Arduino Firmware Flash Instructions
===================================================
You can flash the compiled .bin file using esptool.py or any generic ESP32 flashing tool.
EOF
- name: Package Release
run: |
tar -czvf esp32-aldl-arduino-firmware.tar.gz -C dist .
- name: Upload Firmware Package
uses: actions/upload-artifact@v3
with:
name: esp32-aldl-arduino-firmware-${{ github.sha }}
path: esp32-aldl-arduino-firmware.tar.gz
+2
View File
@@ -0,0 +1,2 @@
build/
sdkconfig
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright Gordon Bolton (c) 2026
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.