Restrict access to the UART when logging

Added a mutex around the UART in the console backend to prevent
multiple tasks from stomping on each other. This eliminates UART
corruption garbling the tokenized output.
2 files changed
tree: 99606405ee566d09a7c5d1d5b623a3fdd871a6b4
  1. .github/
  2. apps/
  3. docs/
  4. hal/
  5. openprot/
  6. patches/
  7. platform/
  8. presubmit/
  9. services/
  10. signing/
  11. target/
  12. third_party/
  13. tooling/
  14. .bazelignore
  15. .bazelrc
  16. .bazelversion
  17. .clang-format
  18. .gitignore
  19. .semgrepignore
  20. BUILD.bazel
  21. LICENSE
  22. MODULE.bazel
  23. MODULE.bazel.lock
  24. out-of-tree.md
  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.