orchestrator: Take ImageSource::size by shared reference The image length is a property of the staged image, not a bus transaction: every realistic source (RAM copy, interposed flash, PLDM transfer) learns it during open and can report a cached value. Taking &self matches embedded_storage::ReadStorage::capacity and leaves the source shareable for size queries; read_at stays &mut self because reads drive the bus, as in embedded_io::Read. Signed-off-by: Christina Quast <christina.quast@9elements.com>
The OpenPRoT Technical Charter can be found at https://github.com/OpenPRoT/.github/blob/main/GOVERNANCE.md
NOTE: We are converting our build system to bazel. We recommend installing bazelisk to automatically manage bazel versions.
You can run tasks using the Pigweed workflow launcher pw or bazel.
./pw presubmit - Run presubmit checks: formatting, license checks, C/C++ header checks and clippy../pw format - Run the code formatters.bazel test //... - Run all tests.bazel build //docs - Build documentation.The project is structured as a bazel module.
No additional tools are required - all dependencies are managed by bazel.