orchestrator: Say start, not arm, outside the watchdogs

BootWatch::arm becomes BootWatch::start and Phase::Armed becomes
Phase::Started. The trait doc already said "starts a fresh attempt", so
the name now says what the method does.

Arm stays where a deadline is involved: the boot and commit watchdogs,
the timer, and BootWatchdogs in the server. It also stays in the i2c,
i3c, usart and sgpiom drivers, which are not ours.

The rest is prose. The trial-boot record is set pending, matching
set_trial_pending and is_pending on the trait. The SPI write filter is
enabled, which is what the register does. The GPIO boot monitor cannot
clear the latch.

Assisted-by: Claude
11 files changed
tree: 58519ba82c6b6e96d23735075deddb37cb4af17d
  1. .github/
  2. docs/
  3. drivers/
  4. hal/
  5. openprot/
  6. patches/
  7. platform/
  8. presubmit/
  9. services/
  10. target/
  11. third_party/
  12. tools/
  13. util/
  14. .bazelignore
  15. .bazelrc
  16. .bazelversion
  17. .clang-format
  18. .gitignore
  19. .semgrepignore
  20. BUILD.bazel
  21. CONTRIBUTING.md
  22. LICENSE
  23. MODULE.bazel
  24. MODULE.bazel.lock
  25. pw
  26. README.md
  27. rust-toolchain.toml
  28. workflows.json
README.md

OpenPRoT

Technical Charter

The OpenPRoT Technical Charter can be found at https://github.com/OpenPRoT/.github/blob/main/GOVERNANCE.md

Getting Started

NOTE: We are converting our build system to bazel. We recommend installing bazelisk to automatically manage bazel versions.

Available Tasks

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.

Development

The project is structured as a bazel module.

Requirements

  • Bazel. We recommend installing bazelisk to automatically manage bazel versions.

No additional tools are required - all dependencies are managed by bazel.