blinky: Use propper flash_rp2350 target
Change-Id: Ib21baeb629cf9c85213e1b5ab17e82ded4cbb939
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/quickstart/bazel/+/247912
Reviewed-by: Armando Montanez <amontanez@google.com>
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
Pigweed-Auto-Submit: Erik Gilling <konkers@google.com>
diff --git a/apps/blinky/BUILD.bazel b/apps/blinky/BUILD.bazel
index eeb0b1b..5cbbb92 100644
--- a/apps/blinky/BUILD.bazel
+++ b/apps/blinky/BUILD.bazel
@@ -13,7 +13,7 @@
# the License.
load("@pigweed//targets/host_device_simulator:transition.bzl", "host_device_simulator_binary")
-load("@pigweed//targets/rp2040:flash.bzl", "flash_rp2040")
+load("@pigweed//targets/rp2040:flash.bzl", "flash_rp2040", "flash_rp2350")
load("//targets/rp2:binary.bzl", "rp2040_binary", "rp2350_binary")
load("//tools:tools.bzl", "device_console", "host_console")
@@ -93,8 +93,7 @@
rp2040_binary = "rp2040_blinky.elf",
)
-# Note: Despite the name, the rule works for the 2350.
-flash_rp2040(
+flash_rp2350(
name = "flash_rp2350",
- rp2040_binary = "rp2350_blinky.elf",
+ rp2350_binary = "rp2350_blinky.elf",
)