14 lines
769 B
Markdown
14 lines
769 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/picomap/ 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.
|
|
|
|
To load a single target: `go run ./cmd/picomap/ load picomap` or `go run ./cmd/picomap/ load picomap_test`.
|
|
|
|
After loading, run `go run ./cmd/picomap/ info` to verify devices are responding.
|
|
|
|
After modifying the CLI itself (cmd/picomap/, lib/), run load twice: once to load the firmware, once to verify the load process still works end-to-end.
|