orchestrator: Construct ComponentId via From<u8> Replace the ComponentId::new(idx as u8) call in poll_boot_walks with a From<u8> conversion, per review. The const fn new stays for const contexts (test constants). Also assert N <= 256 at compile time in PlatformDriver::new: component ids are u8, so a larger board would wrap them silently. 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.