Files
picomap/.claude/skills/load/SKILL.md

12 lines
646 B
Markdown

---
name: load
description: 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.
user-invocable: 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.