pico-sdk/test/pico_divider_test/BUILD.bazel
graham sanderson efe2103f9b
Some checks failed
CMake / build (push) Has been cancelled
Build on macOS / build (push) Has been cancelled
Build on Windows / build (push) Has been cancelled
Multi GCC / build (push) Has been cancelled
SDK 2.0.0 release
2024-08-08 08:54:38 -05:00

40 lines
1.1 KiB
Python

load("//bazel:defs.bzl", "compatible_with_rp2")
package(default_visibility = ["//visibility:public"])
cc_binary(
name = "pico_divider_test",
testonly = True,
srcs = ["pico_divider_test.c"],
target_compatible_with = compatible_with_rp2(),
deps = [
"//src/rp2_common/pico_divider",
"//src/rp2_common/pico_stdlib",
] + select({
"//bazel/constraint:host": [],
"//conditions:default": [
"//src/rp2_common/hardware_dma",
"//src/rp2_common/hardware_irq",
"//src/rp2_common/hardware_vreg",
],
}),
)
cc_binary(
name = "pico_divider_nesting_test",
testonly = True,
srcs = ["pico_divider_nesting_test.c"],
target_compatible_with = compatible_with_rp2(),
deps = [
"//src/rp2_common/pico_divider",
"//src/rp2_common/pico_stdlib",
] + select({
"//bazel/constraint:host": [],
"//conditions:default": [
"//src/rp2_common/hardware_dma",
"//src/rp2_common/hardware_irq",
"//src/rp2_common/hardware_vreg",
],
}),
)