blob: 001f96779f43e334662e022844a07a9d636ebc2e [file] [log] [blame] [edit]
package(default_visibility = ["//visibility:public"])
cc_library(
name = "hardware_dma",
srcs = ["dma.c"],
hdrs = ["include/hardware/dma.h"],
includes = ["include"],
target_compatible_with = select({
"//bazel/constraint:rp2": [],
"//conditions:default": ["@platforms//:incompatible"],
}),
deps = [
"//src/common/pico_base",
"//src/rp2_common/hardware_claim",
"//src/rp2_common/pico_platform:hardware_regs",
"//src/rp2_common/pico_platform:hardware_structs",
],
)