blob: 0d3394f8bccb2777b15f12424d40444e76d1e2cc [file]
load("@rules_cc//cc:cc_library.bzl", "cc_library")
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"],
)