Skip to content

Build Firmware

Build Firmware #11

Workflow file for this run

name: Build firmware
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install packages
run: |
sudo apt-get install gcc-arm-none-eabi libnewlib-arm-none-eabi
sudo apt install cmake python3 build-essential gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib
- name: Build MPY Cross
run: make -C micropython/mpy-cross
- name: Submodules
run: make -C micropython/ports/rp2 BOARD=SPARKFUN_XRP_CONTROLLER submodules
- name: Set Pico SDK path
run: echo "PICO_SDK_PATH=$GITHUB_WORKSPACE/micropython/lib/pico-sdk" >> "$GITHUB_ENV"
- name: Build OpenCV
run: make -C src/opencv PLATFORM=embedded/rp2350 --no-print-directory
- name: Build firmware
run: make BOARD=SPARKFUN_XRP_CONTROLLER