blob: 98dae547ef78fbd7c0acedb74da5500342408795 [file] [log] [blame]
load("//bazel:defs.bzl", "compatible_with_rp2")
package(default_visibility = ["//visibility:public"])
cc_library(
name = "pico_atomic",
srcs = ["atomic.c"],
hdrs = ["include/stdatomic.h"],
copts = ["-Wno-atomic-alignment"],
includes = ["include"],
target_compatible_with = compatible_with_rp2(),
deps = ["//src/common/pico_sync"],
)