Files

12 lines
675 B
Markdown
Raw Permalink Normal View History

2026-04-03 17:05:11 +09:00
---
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 firmware/ files that need testing on hardware.
user-invocable: true
2026-04-03 17:05:11 +09:00
---
Run `go run ./cmd/load/` from the project root. This builds both firmware targets, loads picomap onto the first device and picomap_test onto the second, and reboots both.
2026-04-03 17:05:11 +09:00
After loading, run `go run ./cmd/info/` to verify both devices are responding.
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.