Publish firmware artifacts after build

This commit is contained in:
Joey Yakimowich-Payne 2026-08-29 13:39:44 -06:00
commit 9d627214fb
4 changed files with 12 additions and 1 deletions

View file

@ -106,7 +106,8 @@ Prereqs: Pico SDK + CMake toolchain set up.
### Using `build.py`
`build.py` configures CMake, builds the firmware, checks that both output formats
were created, and flashes the ELF with `picotool`.
were created, copies the release artifacts into `firmware/`, and flashes the ELF
with `picotool`.
Before running it:
@ -122,6 +123,8 @@ The generated files are:
- `build/switch-pico.elf`, which `build.py` passes to `picotool`.
- `build/switch-pico.uf2`, which can also be copied to the Pico manually.
- `firmware/switch-pico.elf` and `firmware/switch-pico.uf2`, refreshed from the
corresponding `build/` artifacts after every successful build.
To customize the controller grip color while building, pass one of these mutually
exclusive options: