646 B
646 B
name, description, user-invocable
| name | description | user-invocable |
|---|---|---|
| load | Build firmware, load it onto the Pico, and reboot. Use when the user says "load", "flash", "deploy", "push to pico", or after making changes to picomap.cpp or include/ headers that need testing on hardware. | true |
Run go run ./cmd/load/ from the project root. This builds the firmware, loads it onto the Pico, and reboots.
If cmake needs reconfiguring (e.g. after CMakeLists.txt changes), run cmake -B build first.
After modifying the load command itself (cmd/load/, lib/wire/, lib/picoserial/), run it twice: once to load the firmware, once to verify the load process still works end-to-end.