Files
BobBot c8c4199c5c
ci / test (push) Canceled after 0s
ci / build-arm64 (push) Canceled after 0s
feat(ecs): slice 2 — MattonellaState register image + Mattonella model
- state.rs: ports of mattonella_state.py (569 L), _dac_setting.py and the
  RegisterField byte plumbing — full 0x6C register image (64 pixel bytes,
  globals 0x40-0x4B, pairwise finetune-DAC nibbles 0x4C-0x6B) with exact
  range checks and enum parsing (ChannelMode, CalibrationTime)
- mattonella.rs: port of mattonella.py (426 L) — DACInterface (enable bit 7
  + 7-bit value RMW), 20 class-level descriptors, pixel batch ops
  (power/frontend/adj/ctrl/mask/ftdac), calibrate, full-state read/write
- 9 integration tests; verified from_bytes(to_bytes(s)) == s round-trip
- fake data_server moved to tests/common and fixed to advance the
  subaddress on multi-byte reads/writes (consecutive registers)
- divergences D1-D5 documented in docs/porting-notes.md
- workspace: 30 tests green
2026-11-12 23:36:32 +00:00

1.2 KiB

MEMORY.md — innesco-rs

  • Repo: Gitea ignite/innesco-rs (clone of innesco in Rust; original repo untouched).
  • Workspace: innesco-protocol (ecs/protocol.py), innesco-decoding (csrc/decoding.c), innesco-cli.
  • Zero external deps (std only) → arm64 cross build trivial.
  • Golden tests mirror tests/test_decode_golden.py (address 197 plain / 1221 calib, PERIOD_FS=1e6).
  • Arm64: scripts/build-arm64.sh → cargo-zigbuild + ziglang pip venv (/tmp/venvs/zig), musl static default.
  • Target: AMD Kria K26 (aarch64, quad Cortex-A53, Ubuntu 22.04).
  • Build artifacts → /tmp/innesco-rs-target (NFS too slow for target/).
  • 2026-11-12: initial port, golden tests green, pushed to Gitea main.
  • 2026-11-12: arm64 musl build verified (static, AArch64); craft-anything-cli installed.
  • 2026-11-12: slice 1 of OP3 (innesco-ecs: _fields/board/pixel) — 21 tests green; 2 faithful-port findings (enum non-round-trip, crystal hi/lo aliasing). Decisions: polars-rs + S3 crucial (OP1), CI deprioritized. Reminder cron 2026-11-18 09:00 for raw frames.
  • 2026-11-12: slice 2 of OP3 (mattonella_state + mattonella + _dac_setting) — 30 tests green; state round-trip verified; divergences D1-D5 documented.