1load("//bazel:defs.bzl", "compatible_with_rp2")
2
3package(default_visibility = ["//visibility:public"])
4
5cc_library(
6    name = "pico_sha256",
7    srcs = ["sha256.c"],
8    hdrs = ["include/pico/sha256.h"],
9    defines = ["LIB_PICO_SHA256=1"],
10    implementation_deps = ["//src/rp2_common/pico_bootrom"],
11    includes = ["include"],
12    target_compatible_with = compatible_with_rp2(),
13    deps = [
14        "//src/common/pico_time",
15        "//src/rp2_common:hardware_structs",
16        "//src/rp2_common/hardware_dma",
17        "//src/rp2_common/hardware_sha256",
18    ],
19)
20