Content-hash cache of compiled firmware images. More...
| Header: | #include <FirmwareImageCache> |
| Since: | Phase 20f |
Persistent on-disk cache keyed on SHA-256 of: 1. source bytes 2. canonical boardName 3. LLVM revision token (from libllvm) 4. toolchain revision token (from libtoolchain) 5. optimization level
A second `compile()` call with the same key returns the cached `FirmwareImage` without re-running clang/lld. LRU eviction respects a configurable byte budget (default 64 MB).
Multi-process safe via per-cache QLockFile on `index.json`.
See also FirmwareBuildManager and FirmwareImage.