bazel: Use CPU constraints from Pigweed
Use the constraints from @pigweed instead of @pw_toolchain so that
pw_toolchain_bazel can be removed.
bug: b/346388161
Change-Id: Ibb51fb7dace29dc1bd6bb8d2877bf1f9679d77ca
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/examples/+/255332
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Pigweed-Auto-Submit: Armando Montanez <amontanez@google.com>
Reviewed-by: Ted Pudlik <tpudlik@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
diff --git a/targets/rp2040/BUILD.bazel b/targets/rp2040/BUILD.bazel
index bbef6c6..52430f3 100644
--- a/targets/rp2040/BUILD.bazel
+++ b/targets/rp2040/BUILD.bazel
@@ -28,7 +28,7 @@
# For toolchain selection.
"@platforms//cpu:armv6-m",
- "@pw_toolchain//constraints/arm_mcpu:cortex-m0",
+ "@pigweed//pw_build/constraints/arm:cortex-m0",
],
)
diff --git a/targets/stm32f429i_disc1_stm32cube/BUILD.bazel b/targets/stm32f429i_disc1_stm32cube/BUILD.bazel
index fbb4ca3..04946cf 100644
--- a/targets/stm32f429i_disc1_stm32cube/BUILD.bazel
+++ b/targets/stm32f429i_disc1_stm32cube/BUILD.bazel
@@ -29,7 +29,7 @@
# For toolchain selection.
"@platforms//cpu:armv7e-m",
- "@pw_toolchain//constraints/arm_mcpu:cortex-m4",
+ "@pigweed//pw_build/constraints/arm:cortex-m4",
],
)