Add NRF firmware building to release scripts

This commit is contained in:
Jonas Niesner
2023-09-02 16:17:17 +02:00
committed by GitHub
parent aad5fe71eb
commit eccd309a61

View File

@@ -35,7 +35,15 @@ jobs:
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Build NRF firmware
run: |
cd ARM_Tag_FW/Newton_M3_nRF52811
pio run --environment Newton_M3_29_BWR
pio run --environment Newton_M3_75_BWR
cp .pio/build/Newton_M3_29_BWR/firmware.hex /home/runner/work/OpenEPaperLink/OpenEPaperLink/binaries/Newton_M3_29_BWR.hex
cp .pio/build/Newton_M3_75_BWR/firmware.hex //home/runner/work/OpenEPaperLink/OpenEPaperLink/binaries/Newton_M3_75_BWR.hex
- name: Install esptool
run: pip install esptool