load("@rules_cc//cc:cc_library.bzl", "cc_library")

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

cc_library(
    name = "hardware_gpio",
    srcs = ["gpio.c"],
    hdrs = ["include/hardware/gpio.h"],
    includes = ["include"],
    target_compatible_with = ["//bazel/constraint:host"],
    deps = [
        "//src/common/pico_binary_info:LIB_PICO_BINARY_INFO",
        "//src/host/hardware_irq",
        "//src/host/pico_platform",
    ],
)
