12 lines
675 B
Markdown
12 lines
675 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 firmware/ files that need testing on hardware.
|
|
user-invocable: true
|
|
---
|
|
|
|
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.
|
|
|
|
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.
|