fix: address whole-branch review findings for veer fpga target

- target/veer/BUILD.bazel: add the crate_features select to the
  console rust_library that entry/config already had, so
  #[cfg(feature = "fpga")] in console.rs actually compiles in when
  building for the fpga target_type. Previously the fpga console
  backend (writing to the FPGA wrapper's debug FIFO) was dead code
  and fpga images silently kept using the emulator-only UART address.
- target/veer/tooling/caliptra_runner.py: in the fpga branch of
  load_and_run, drop the Detokenizer/detokenize_text call (this
  target's log backend is log_backend_basic, a plain-text logger, so
  detokenization was a no-op that only added a hard, unmet ELF-file
  runfiles dependency causing a FileNotFoundError at runtime) and scan
  proc.stdout directly instead. Also: print the captured device output
  so operators get diagnostics on both PASS and FAIL, add a timeout to
  the remote subprocess.run call with a TimeoutExpired handler (the
  VeeR core spins forever after signaling its exit sentinel, so an
  unreachable/stuck board no longer hangs indefinitely), and check
  proc.returncode so an outright ssh/remote failure is logged
  distinctly from "board ran but printed nothing".
- .bazelrc: forward VCK190_FPGA_HOST into the k_veer test sandbox
  (Bazel scrubs the test environment by default), matching the
  existing k_ast1060_evb pattern.
3 files changed
tree: 260c5132709cd48430ddd58638f9d5ea9d77b758
  1. .github/
  2. docs/
  3. drivers/
  4. hal/
  5. openprot/
  6. platform/
  7. presubmit/
  8. services/
  9. target/
  10. third_party/
  11. tools/
  12. util/
  13. .bazelignore
  14. .bazelrc
  15. .bazelversion
  16. .clang-format
  17. .gitignore
  18. .semgrepignore
  19. BUILD.bazel
  20. CONTRIBUTING.md
  21. LICENSE
  22. MODULE.bazel
  23. MODULE.bazel.lock
  24. pw
  25. README.md
  26. rust-toolchain.toml
  27. 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.