3 Commits
Author SHA1 Message Date
BobBot c8c4199c5c feat(ecs): slice 2 — MattonellaState register image + Mattonella model
ci / test (push) Canceled after 0s
ci / build-arm64 (push) Canceled after 0s
- 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
BobBot eff04cfa10 feat(ecs): slice 1 — I2C field model, board registers, pixel (ports of _fields/board/pixel.py)
ci / test (push) Canceled after 0s
ci / build-arm64 (push) Canceled after 0s
- innesco-ecs: declarative I2cField (byte/enum/bool/int) with the exact
  read-modify-write semantics of _fields.py, incl. the raw-byte getter quirk
- Board: mux, fastin_src, external_dac, sel_data_en_src, si_clk_oe,
  si_clk_in, analog_power, direction_register + config_crystal sequencer
- Pixel: power/frontend/adj/ctrl + finetune_dac nibble logic
- 7 integration tests against a fake data_server (register-file mock)
- faithful-port findings #7 (enum codes wider than mask don't round-trip
  in Python either) and #8 (crystal hi/lo aliasing) documented
- 21 tests green across the workspace
2026-11-12 23:19:23 +00:00
BobBot 78a84ef248 Initial Rust port of innesco: ECS protocol, frame decoder, CLI
ci / test (push) Canceled after 0s
ci / build-arm64 (push) Canceled after 0s
- innesco-protocol: ECS wire protocol client (port of ecs/protocol.py)
- innesco-decoding: 13-byte frame decoder (port of csrc/decoding.c),
  golden tests mirror tests/test_decode_golden.py (14/14 green)
- innesco-cli: ping / decode subcommands
- scripts/build-arm64.sh: rootless cross build for AMD Kria K26
  (aarch64 via cargo-zigbuild + zig, musl static default)
- zero external dependencies (std only)
2026-11-12 07:06:19 +00:00