blob: 63c5e7626cf5fd508eedfadf1c4703dadc7c65eb [file] [log] [blame]
package(default_visibility = ["//visibility:public"])
cc_library(
name = "hardware_gpio",
srcs = ["gpio.c"],
hdrs = ["include/hardware/gpio.h"],
includes = ["include"],
target_compatible_with = select({
"//bazel/constraint:rp2": [],
"//conditions:default": ["@platforms//:incompatible"],
}),
deps = [
"//src/common/pico_base:pico_base_interface",
"//src/common/pico_binary_info",
"//src/rp2_common/hardware_irq",
"//src/rp2_common/hardware_sync",
"//src/rp2_common/pico_platform:hardware_structs",
],
)