Skip to content

Commit

Permalink
update bazel build
Browse files Browse the repository at this point in the history
  • Loading branch information
kilograham committed Nov 11, 2024
1 parent 7042d56 commit b730a5f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/rp2_common/hardware_flash/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ cc_library(
target_compatible_with = compatible_with_rp2(),
deps = [
"//src/rp2_common:hardware_structs",
"//src/rp2_common/hardware_xip_cache",
"//src/rp2_common:pico_platform",
"//src/rp2_common/pico_bootrom",
"//src/rp2_common/pico_multicore",
Expand Down
14 changes: 14 additions & 0 deletions src/rp2_common/hardware_xip_cache/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
load("//bazel:defs.bzl", "compatible_with_rp2")

package(default_visibility = ["//visibility:public"])

cc_library(
name = "hardware_xip_cache",
srcs = ["xip_cache.c"],
hdrs = ["include/hardware/xip_cache.h"],
includes = ["include"],
target_compatible_with = compatible_with_rp2(),
deps = [
"//src/rp2_common/hardware_sync",
],
)
1 change: 1 addition & 0 deletions test/kitchen_sink/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ cc_library(
"//src/rp2_common/hardware_uart",
"//src/rp2_common/hardware_vreg",
"//src/rp2_common/hardware_watchdog",
"//src/rp2_common/hardware_xip_cache",
"//src/rp2_common/hardware_xosc",
"//src/rp2_common/pico_aon_timer",
"//src/rp2_common/pico_bootrom",
Expand Down

0 comments on commit b730a5f

Please sign in to comment.