Display compass diagnostic information

This commit is contained in:
James Babcock committed 2026-09-08 11:20:43 -07:00
1 parent 1154474754
commit 083628f37a
13 files changed
+807 -10

No files matched your search

+8
View File
@@ -14,3 +14,11 @@ That compiles the pure modules with the project's TypeScript into
`.test-build/` (git-ignored) and runs `node --test tests/`. No extra
dependencies are needed — the tests are plain `.test.cjs` files that use
`node:test` and `node:assert`.
Compass diagnostics have focused UI and wire-format checks:
node --test tests/compass-debug.test.cjs tests/compass-protocol.test.cjs
The protocol check also compiles the production Java parser, so it needs a
JDK (`JAVA_HOME`, or `javac` and `java` on `PATH`). Its golden packet is shared
with the firmware encoder test in `g2flash/tests/compass_diagnostics_test.c`.