toolchain-setup.md 839 B

Debian development toolchain

The editable authority is /root/workspaces/thermal-system; the container only mounts it at /workspace. The image is Debian-based and digest-pinned. It never accesses COM/JTAG or programs hardware.

./dev.sh build
./dev.sh doctor
./dev.sh run pytest -q
./dev.sh shell

Windows is a dispatcher only:

.\dev.ps1 doctor

Durable OSS CAD Suite and Anlogic TD files belong under /data/prod2u (or PRODU2_TOOLCHAIN_BASE). td2026 must be invoked through its wrapper so vendor Qt and LD_LIBRARY_PATH values exist only for the TD child process.

The generated receipts/environment/container-image.json binds the built image ID/digest, base digest, Containerfile hash, Python requirement hash, and SymbiYosys commit. Rebuild and review the receipt after any dependency change.