fwmanager: Borrow the GPIO port in GpioBootMonitor Owning the port swallowed a whole GPIO bank per monitor, making a second monitor on the same bank impossible. On the AST1060 SGPIOM a bank packs 32 unrelated lines, so distinct devices' ready signals routinely share one bank by construction. The monitor only reads (read_input takes &self), so hold &'a P instead: several monitors can now watch different lines of the same bank, with platform configuration keeping the bank alive for as long as its monitors. Also note in the adapter docs that a single ready line only ever yields the Booting/Booted subset of BootStatus. Addresses review feedback on PR #368. Assisted-by: Claude:claude-fable-5 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.