blob: 93f54f999441f952e0357ba3710955b7fd6d116c [file] [log] [blame]
Brian Silverman4787a6e2018-10-06 16:00:54 -07001cc_library(
2 name = "print",
3 hdrs = [
4 "print.h",
5 ],
Philipp Schraderdada1072020-11-24 11:34:46 -08006 target_compatible_with = ["@platforms//os:none"],
Brian Silverman4787a6e2018-10-06 16:00:54 -07007 visibility = ["//visibility:public"],
8 deps = [
Brian Silverman83693e42019-03-02 15:45:52 -08009 "//aos/containers:sized_array",
Brian Silverman4787a6e2018-10-06 16:00:54 -070010 "//motors/core",
Austin Schuh7fe04492022-01-02 13:37:21 -080011 "@com_google_absl//absl/types:span",
Brian Silverman4787a6e2018-10-06 16:00:54 -070012 ],
13)
14
15cc_library(
16 name = "uart",
17 srcs = [
18 "uart.cc",
19 ],
20 hdrs = [
21 "uart.h",
22 ],
Philipp Schraderdada1072020-11-24 11:34:46 -080023 target_compatible_with = ["@platforms//os:none"],
Brian Silverman4787a6e2018-10-06 16:00:54 -070024 visibility = ["//visibility:public"],
25 deps = [
26 ":print",
27 "//motors/core",
28 "//motors/peripheral:uart",
29 ],
30)
31
32cc_library(
33 name = "itm",
34 srcs = [
35 "itm.cc",
36 ],
37 hdrs = [
38 "itm.h",
39 ],
Philipp Schraderdada1072020-11-24 11:34:46 -080040 target_compatible_with = ["@platforms//os:none"],
Brian Silverman4787a6e2018-10-06 16:00:54 -070041 visibility = ["//visibility:public"],
42 deps = [
43 ":print",
44 "//motors/core:itm",
45 ],
46)
47
48cc_library(
49 name = "semihosting",
50 srcs = [
51 "semihosting.cc",
52 ],
53 hdrs = [
54 "semihosting.h",
55 ],
Philipp Schraderdada1072020-11-24 11:34:46 -080056 target_compatible_with = ["@platforms//os:none"],
Brian Silverman4787a6e2018-10-06 16:00:54 -070057 visibility = ["//visibility:public"],
58 deps = [
59 ":print",
60 "//motors/core:semihosting",
61 ],
62)
63
64cc_library(
65 name = "usb",
66 srcs = [
67 "usb.cc",
68 ],
69 hdrs = [
70 "usb.h",
71 ],
Philipp Schraderdada1072020-11-24 11:34:46 -080072 target_compatible_with = ["@platforms//os:none"],
Brian Silverman4787a6e2018-10-06 16:00:54 -070073 visibility = ["//visibility:public"],
74 deps = [
75 ":print",
76 "//motors/core",
77 "//motors/usb",
78 "//motors/usb:cdc",
79 ],
80)