build: Add Bazel based build (pdf schematic) and test (ERC)

Change-Id: Ica99064ef00186e3386100932dd014e045ad9e3a
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/hardware/testing/+/244552
Reviewed-by: Armando Montanez <amontanez@google.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Pigweed-Auto-Submit: Erik Gilling <konkers@google.com>
Commit-Queue: Erik Gilling <konkers@google.com>
10 files changed
tree: 253695fb9409a1aa414feccd6e2b68816fb3d703
  1. build/
  2. pcb/
  3. third_party/
  4. .bazelrc
  5. .gitignore
  6. AUTHORS
  7. CONTRIBUTING.md
  8. LICENSE
  9. MODULE.bazel
  10. OWNERS
  11. README.md
README.md

Pigweed Hardware Testing.... Hardware

Bazel build instructions

  • Install bazelisk.
  • Install KiCad and ensure kicad-cli is added to your $PATH.
  • Follow the instruction at third_party/rp2350/README.md
  • Run bazelisk build //... to build artifacts (PDF Schematic, etc.).
  • Run bazelisk test //.. to run ERC/DRC.