driver: Move the update pump into its own file driver.rs was 1288 lines holding four unrelated jobs. The update pump is the one with its own state machine, and nothing else touches it. It goes in driver/update.rs, a child module rather than a sibling, so it can still read PlatformDriver's private fields. Pure move: the only edits are the import lists on both sides, mod update, and the re-export that keeps UpdatePoll's path the same. Assisted-by: Claude
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.