Add test target, parallelize load and info across two devices
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
---
|
||||
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.
|
||||
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 the firmware, loads it onto the Pico, and reboots.
|
||||
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.
|
||||
|
||||
If cmake needs reconfiguring (e.g. after CMakeLists.txt changes), run `cmake -B build` first.
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user