Add serial.h to properly setup the serial port.
Change-Id: I0a61d2d251ad8f0d3cfbb53c5d1b66dd03873e16
diff --git a/y2019/jevois/BUILD b/y2019/jevois/BUILD
index b944d98..e4587b5 100644
--- a/y2019/jevois/BUILD
+++ b/y2019/jevois/BUILD
@@ -1,3 +1,5 @@
+package(default_visibility = ["//visibility:public"])
+
spi_crc_args = [
"$(location //third_party/pycrc:pycrc_main)",
"--width=16",
@@ -115,3 +117,12 @@
"//third_party/GSL",
],
)
+
+cc_library(
+ name = "serial",
+ hdrs = ["serial.h"],
+ srcs = ["serial.cc"],
+ deps = [
+ "//aos/logging:logging",
+ ],
+)