Build Firmware #5
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build firmware | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install packages | |
run: sudo apt-get install gcc-arm-none-eabi libnewlib-arm-none-eabi | |
- 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 | |
- name: Build MPY Cross | |
run: make -C micropython/mpy-cross | |
- name: Submodules | |
run: make -C micropython/ports/rp2 BOARD=SPARKFUN_XRP_CONTROLLER submodules | |
- name: Build firmware | |
run: make BOARD=SPARKFUN_XRP_CONTROLLER |