Skip to content

v2.6.0 — board-profile catalog

Choose a tag to compare

@pepito2t pepito2t released this 04 Aug 17:46
· 74 commits to main since this release

Added

  • Board-profile catalog + versioned blob serializer (#35) — the shared source of truth for the runtime-board-config pivot (canshift-firmware#68).
  • BoardProfile type (snake_case blob keys ↔ camelCase TS), mirroring the firmware board_profile.h struct field-for-field so the parity job holds.
  • parseBoardProfile(raw) — magic + formatVersion gated before shape, prototype-pollution hardened, discriminated result (ok/invalid_json/not_an_object/unsupported_blob_version/wrong_shape); serializeBoardProfile(profile) deterministic.
  • BOARD_PROFILES / getBoardProfile(id) — crowpanel_28, generic_ili9341, generic_ili9341_gt911 (exact firmware pin maps), and a placeholder waveshare_s3_28 (pins TBD on board arrival).

Notes

  • Blob carries its own independent formatVersion; no CURRENT_SCHEMA_VERSION change (device-provisioning data, not persisted config).
  • Unblocks the tuner board picker + universal flash flow (canshift-tuner#43/#44).