1load("//bazel:defs.bzl", "compatible_with_rp2") 2 3package(default_visibility = ["//visibility:public"]) 4 5# TODO: Needs LIB_FREERTOS_KERNEL defined. 6cc_library( 7 name = "hardware_flash", 8 srcs = ["flash.c"], 9 hdrs = ["include/hardware/flash.h"], 10 includes = ["include"], 11 target_compatible_with = compatible_with_rp2(), 12 deps = [ 13 "//src/rp2_common:hardware_structs", 14 "//src/rp2_common/hardware_xip_cache", 15 "//src/rp2_common:pico_platform", 16 "//src/rp2_common/pico_bootrom", 17 "//src/rp2_common/pico_multicore", 18 ], 19) 20