blob: bd9aaa9cbf41f88ee5c98789b11d0080c76404ea [file] [log] [blame] [edit]
package(default_visibility = ["//visibility:public"])
cc_library(
name = "pico_i2c_slave",
srcs = ["i2c_slave.c"],
hdrs = ["include/pico/i2c_slave.h"],
includes = ["include"],
target_compatible_with = select({
"//bazel/constraint:rp2": [],
"//conditions:default": ["@platforms//:incompatible"],
}),
deps = [
"//src/rp2_common/hardware_i2c",
"//src/rp2_common/hardware_irq",
],
)