Skip to content

Commit b730a5f

Browse files
committed
update bazel build
1 parent 7042d56 commit b730a5f

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

src/rp2_common/hardware_flash/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ cc_library(
1111
target_compatible_with = compatible_with_rp2(),
1212
deps = [
1313
"//src/rp2_common:hardware_structs",
14+
"//src/rp2_common/hardware_xip_cache",
1415
"//src/rp2_common:pico_platform",
1516
"//src/rp2_common/pico_bootrom",
1617
"//src/rp2_common/pico_multicore",
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
load("//bazel:defs.bzl", "compatible_with_rp2")
2+
3+
package(default_visibility = ["//visibility:public"])
4+
5+
cc_library(
6+
name = "hardware_xip_cache",
7+
srcs = ["xip_cache.c"],
8+
hdrs = ["include/hardware/xip_cache.h"],
9+
includes = ["include"],
10+
target_compatible_with = compatible_with_rp2(),
11+
deps = [
12+
"//src/rp2_common/hardware_sync",
13+
],
14+
)

test/kitchen_sink/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ cc_library(
6060
"//src/rp2_common/hardware_uart",
6161
"//src/rp2_common/hardware_vreg",
6262
"//src/rp2_common/hardware_watchdog",
63+
"//src/rp2_common/hardware_xip_cache",
6364
"//src/rp2_common/hardware_xosc",
6465
"//src/rp2_common/pico_aon_timer",
6566
"//src/rp2_common/pico_bootrom",

0 commit comments

Comments
 (0)