Commit bfbfe89
committed
build(release): bundle picotool.exe for lab-mode fallback flash
build.ps1 fetches the Raspberry Pi pre-built picotool 2.2.0-3 from
raspberrypi/pico-sdk-tools the first time and caches it under
tools/picotool/, then stages it next to couchlink.exe so the release
zip ships with it. The cache is gitignored; the .gitignore file is
the only tracked artifact under tools/picotool/.
Lab-mode's force_bootsel handler resolves picotool.exe via the bridge
exe directory first, so it works out-of-the-box when running from an
extracted release zip. If the firmware-side CDC + UDP reboot paths
both fail (because the firmware is wedged), the bridge falls back to
`picotool reboot -u -f` and the operator gets a clean BOOTSEL drive
without anyone physically holding the button.
README.txt in the zip now also calls out `couchlink save-wifi` (DPAPI
vault for the lab-mode `wifi_apply_saved` path) and lab-mode itself.
Verified locally: build.ps1 -SkipPico -SkipBridge downloads + stages
picotool.exe (6.1 MB) and the resulting binary runs cleanly
(`picotool help` works).1 parent e88b13d commit bfbfe89
3 files changed
Lines changed: 53 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
262 | 266 | | |
263 | 267 | | |
264 | 268 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
87 | 124 | | |
88 | 125 | | |
89 | 126 | | |
| |||
127 | 164 | | |
128 | 165 | | |
129 | 166 | | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
130 | 173 | | |
131 | 174 | | |
132 | 175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments