aboutsummaryrefslogtreecommitdiff
path: root/pw_sys_io_stm32cube/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'pw_sys_io_stm32cube/BUILD.bazel')
-rw-r--r--pw_sys_io_stm32cube/BUILD.bazel11
1 files changed, 9 insertions, 2 deletions
diff --git a/pw_sys_io_stm32cube/BUILD.bazel b/pw_sys_io_stm32cube/BUILD.bazel
index 39c863ddd..4e97350fc 100644
--- a/pw_sys_io_stm32cube/BUILD.bazel
+++ b/pw_sys_io_stm32cube/BUILD.bazel
@@ -21,6 +21,11 @@ package(default_visibility = ["//visibility:public"])
licenses(["notice"])
+constraint_value(
+ name = "backend",
+ constraint_setting = "//pw_sys_io:backend_constraint_setting",
+)
+
pw_cc_library(
name = "pw_sys_io_stm32cube",
srcs = [
@@ -28,11 +33,13 @@ pw_cc_library(
"sys_io.cc",
],
hdrs = ["public/pw_sys_io_stm32cube/init.h"],
- # TODO(b/259151566): Get this to build.
- tags = ["manual"],
+ copts = ["-Wno-unused-parameter"],
+ includes = ["public"],
+ target_compatible_with = [":backend"],
deps = [
"//pw_preprocessor",
"//pw_status",
+ "//pw_sys_io:default_putget_bytes",
"//pw_sys_io:facade",
"//third_party/stm32cube",
],