Commit cde681f
qemu-wasm: persistence, autoboot, console input, sensors, gabbro
- The 32 MB SPI flash is saved to OPFS when dirty (15 s cadence,
strided FNV change detection) and restored on the next boot, so
installed apps and settings survive reloads; PebbleKit JS sources
are persisted alongside in localStorage. Factory reset wipes both.
- The page boots automatically on load (?noauto restores the button);
switching boards reloads onto the chosen machine.
- gabbro (getafix_dvt) is a first-class board option with v4.35.0
firmware in the site bundle.
- dbgserial (UART2) gains a browser input ring behind a wasm-console
device property, giving the console panel a working prompt.
- Sensors & phone panel injects battery, compass, tap and time-format
QemuProtocol frames over the existing serial bridge.
Verified in Chromium: autoboot, install -> OPFS save -> reload ->
restore (no re-fetch, JS registry intact), and the dbgserial prompt
answering 'help'.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pi1WErefJ7c6kXodajm25M
Signed-off-by: Eric Migicovsky <eric@repebble.com>1 parent 13c978a commit cde681f
9 files changed
Lines changed: 556 additions & 22 deletions
File tree
- tools/qemu-wasm
- jit/overlay/hw
- arm
- misc
- site-dist
- web
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
157 | 161 | | |
158 | 162 | | |
159 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
| |||
68 | 74 | | |
69 | 75 | | |
70 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
71 | 83 | | |
72 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
73 | 104 | | |
74 | 105 | | |
75 | 106 | | |
| |||
235 | 266 | | |
236 | 267 | | |
237 | 268 | | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
238 | 293 | | |
239 | 294 | | |
240 | 295 | | |
241 | 296 | | |
242 | 297 | | |
243 | 298 | | |
244 | 299 | | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
245 | 309 | | |
246 | 310 | | |
247 | 311 | | |
| |||
269 | 333 | | |
270 | 334 | | |
271 | 335 | | |
| 336 | + | |
272 | 337 | | |
273 | 338 | | |
274 | 339 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
0 commit comments