- 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
13 lines
1.0 KiB
Markdown
13 lines
1.0 KiB
Markdown
# 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.
|