blob: edbc82197e5b593e4cd1a3183021f24195a710f4 [file] [log] [blame]
load("//bazel:defs.bzl", "compatible_with_rp2")
package(default_visibility = ["//visibility:public"])
cc_library(
name = "hardware_spi",
srcs = ["spi.c"],
hdrs = ["include/hardware/spi.h"],
includes = ["include"],
target_compatible_with = compatible_with_rp2(),
deps = [
"//src/common/pico_base",
"//src/rp2_common/hardware_clocks",
"//src/rp2_common/hardware_resets",
"//src/rp2_common/pico_platform:hardware_regs",
"//src/rp2_common/pico_platform:hardware_structs",
],
)