-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
238 lines (238 loc) · 12.9 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
### This file was auto generated. Do not edit manually. ###
package(default_visibility = ["//visibility:public"])
COPTS = ['-Wno-cast-qual', '-Wno-error=strict-prototypes', '-Wno-redundant-decls', '-Wno-shadow', '-Wno-sign-compare', '-Wno-type-limits', '-Wno-undef', '-Wno-unused-function', '-Wno-unused-parameter', '-Wno-unused-variable']
label_flag(
build_setting_default = "@pigweed//pw_build:empty_cc_library",
name = "user_config",
)
cc_library(
copts = COPTS,
defines = ['BOOT_HEADER_ENABLE=1', 'FSL_SDK_DRIVER_QUICK_ACCESS_ENABLE=1', 'SERIAL_PORT_TYPE_UART=1'],
deps = [':user_config'],
hdrs = ['core/CMSIS/Core/Include/cmsis_compiler.h', 'core/CMSIS/Core/Include/cmsis_gcc.h', 'core/CMSIS/Core/Include/cmsis_version.h', 'core/CMSIS/Core/Include/core_cm33.h', 'core/CMSIS/Core/Include/mpu_armv8.h', 'core/CMSIS/Core/Include/tz_context.h', 'core/boards/evkmimxrt595/flash_config/flash_config.h', 'core/boards/evkmimxrt595/project_template/board.h', 'core/boards/evkmimxrt595/project_template/clock_config.h', 'core/boards/evkmimxrt595/project_template/peripherals.h', 'core/boards/evkmimxrt595/project_template/pin_mux.h', 'core/components/lists/fsl_component_generic_list.h', 'core/components/serial_manager/fsl_component_serial_manager.h', 'core/components/serial_manager/fsl_component_serial_port_internal.h', 'core/components/serial_manager/fsl_component_serial_port_uart.h', 'core/components/uart/fsl_adapter_uart.h', 'core/devices/MIMXRT595S/MIMXRT595S_cm33.h', 'core/devices/MIMXRT595S/MIMXRT595S_cm33_features.h', 'core/devices/MIMXRT595S/drivers/fsl_clock.h', 'core/devices/MIMXRT595S/drivers/fsl_iap.h', 'core/devices/MIMXRT595S/drivers/fsl_inputmux_connections.h', 'core/devices/MIMXRT595S/drivers/fsl_power.h', 'core/devices/MIMXRT595S/drivers/fsl_reset.h', 'core/devices/MIMXRT595S/drivers/fsl_usart_freertos.h', 'core/devices/MIMXRT595S/fsl_device_registers.h', 'core/devices/MIMXRT595S/system_MIMXRT595S_cm33.h', 'core/drivers/cache/cache64/fsl_cache.h', 'core/drivers/common/fsl_common.h', 'core/drivers/common/fsl_common_arm.h', 'core/drivers/flexcomm/fsl_flexcomm.h', 'core/drivers/flexcomm/i2c/fsl_i2c.h', 'core/drivers/flexcomm/spi/fsl_spi.h', 'core/drivers/flexcomm/usart/fsl_usart.h', 'core/drivers/flexcomm/usart/fsl_usart_dma.h', 'core/drivers/flexio/fsl_flexio.h', 'core/drivers/flexio/spi/fsl_flexio_spi.h', 'core/drivers/flexspi/fsl_flexspi.h', 'core/drivers/i3c/fsl_i3c.h', 'core/drivers/inputmux/fsl_inputmux.h', 'core/drivers/lpc_dma/fsl_dma.h', 'core/drivers/lpc_gpio/fsl_gpio.h', 'core/drivers/lpc_iopctl/fsl_iopctl.h', 'core/drivers/mu/fsl_mu.h', 'core/drivers/pint/fsl_pint.h', 'core/utilities/assert/fsl_assert.h', 'core/utilities/debug_console/fsl_debug_console.h', 'core/utilities/debug_console/fsl_debug_console_conf.h', 'core/utilities/str/fsl_str.h'],
includes = ['core/CMSIS/Core/Include', 'core/boards/evkmimxrt595/flash_config', 'core/boards/evkmimxrt595/project_template', 'core/components/lists', 'core/components/serial_manager', 'core/components/uart', 'core/devices/MIMXRT595S', 'core/devices/MIMXRT595S/drivers', 'core/drivers/cache/cache64', 'core/drivers/common', 'core/drivers/flexcomm', 'core/drivers/flexcomm/i2c', 'core/drivers/flexcomm/spi', 'core/drivers/flexcomm/usart', 'core/drivers/flexio', 'core/drivers/flexio/spi', 'core/drivers/flexspi', 'core/drivers/i3c', 'core/drivers/inputmux', 'core/drivers/lpc_dma', 'core/drivers/lpc_gpio', 'core/drivers/lpc_iopctl', 'core/drivers/mu', 'core/drivers/pint', 'core/utilities/assert', 'core/utilities/debug_console', 'core/utilities/str'],
name = "commons",
)
cc_library(
copts = COPTS,
deps = [':commons'],
name = "CMSIS_Include_core_cm.MIMXRT595S",
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.common.MIMXRT595S'],
name = "component.lists.MIMXRT595S",
srcs = ['core/components/lists/fsl_component_generic_list.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':component.lists.MIMXRT595S', ':component.serial_manager_uart.MIMXRT595S', ':component.serial_manager_uart.MIMXRT595S.component.serial_manager.MIMXRT595S', ':platform.drivers.common.MIMXRT595S'],
name = "component.serial_manager.MIMXRT595S",
srcs = ['core/components/serial_manager/fsl_component_serial_manager.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':component.serial_manager_uart.MIMXRT595S.component.serial_manager.MIMXRT595S', ':component.usart_adapter.MIMXRT595S', ':platform.drivers.flexcomm_usart.MIMXRT595S'],
name = "component.serial_manager_uart.MIMXRT595S",
srcs = ['core/components/serial_manager/fsl_component_serial_port_uart.c'],
)
cc_library(
copts = COPTS,
deps = [':commons'],
name = "component.serial_manager_uart.MIMXRT595S.component.serial_manager.MIMXRT595S",
srcs = ['core/components/serial_manager/fsl_component_serial_manager.c', 'core/components/serial_manager/fsl_component_serial_port_uart.c'],
visibility = ['//visibility:private'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.common.MIMXRT595S', ':platform.drivers.flexcomm.MIMXRT595S', ':platform.drivers.flexcomm_usart.MIMXRT595S'],
name = "component.usart_adapter.MIMXRT595S",
srcs = ['core/components/uart/fsl_adapter_usart.c'],
)
cc_library(
copts = COPTS,
deps = [':CMSIS_Include_core_cm.MIMXRT595S', ':commons'],
name = "device.MIMXRT595S_CMSIS.MIMXRT595S",
srcs = ['core/devices/MIMXRT595S/system_MIMXRT595S_cm33.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.common.MIMXRT595S'],
name = "platform.drivers.cache_cache64.MIMXRT595S",
srcs = ['core/drivers/cache/cache64/fsl_cache.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.common.MIMXRT595S', ':platform.drivers.common.MIMXRT595S.platform.drivers.clock.MIMXRT595S'],
name = "platform.drivers.clock.MIMXRT595S",
srcs = ['core/devices/MIMXRT595S/drivers/fsl_clock.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':device.MIMXRT595S_CMSIS.MIMXRT595S', ':platform.drivers.common.MIMXRT595S.platform.drivers.clock.MIMXRT595S', ':platform.drivers.reset.MIMXRT595S', ':platform.drivers.reset.MIMXRT595S.platform.drivers.common.MIMXRT595S'],
name = "platform.drivers.common.MIMXRT595S",
srcs = ['core/drivers/common/fsl_common.c', 'core/drivers/common/fsl_common_arm.c'],
)
cc_library(
copts = COPTS,
deps = [':commons'],
name = "platform.drivers.common.MIMXRT595S.platform.drivers.clock.MIMXRT595S",
srcs = ['core/devices/MIMXRT595S/drivers/fsl_clock.c', 'core/drivers/common/fsl_common.c', 'core/drivers/common/fsl_common_arm.c'],
visibility = ['//visibility:private'],
)
cc_library(
alwayslink = True,
copts = COPTS,
deps = [':commons', ':platform.drivers.iap.MIMXRT595S'],
name = "platform.drivers.flash_config.evkmimxrt595.MIMXRT595S",
srcs = ['core/boards/evkmimxrt595/flash_config/flash_config.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.common.MIMXRT595S'],
name = "platform.drivers.flexcomm.MIMXRT595S",
srcs = ['core/drivers/flexcomm/fsl_flexcomm.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.common.MIMXRT595S', ':platform.drivers.flexcomm.MIMXRT595S'],
name = "platform.drivers.flexcomm_i2c.MIMXRT595S",
srcs = ['core/drivers/flexcomm/i2c/fsl_i2c.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.common.MIMXRT595S', ':platform.drivers.flexcomm.MIMXRT595S'],
name = "platform.drivers.flexcomm_spi.MIMXRT595S",
srcs = ['core/drivers/flexcomm/spi/fsl_spi.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.flexcomm.MIMXRT595S'],
name = "platform.drivers.flexcomm_usart.MIMXRT595S",
srcs = ['core/drivers/flexcomm/usart/fsl_usart.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.flexcomm.MIMXRT595S', ':platform.drivers.flexcomm_usart.MIMXRT595S', ':platform.drivers.lpc_dma.MIMXRT595S'],
name = "platform.drivers.flexcomm_usart_dma.MIMXRT595S",
srcs = ['core/drivers/flexcomm/usart/fsl_usart_dma.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.flexcomm.MIMXRT595S', ':platform.drivers.flexcomm_usart.MIMXRT595S'],
name = "platform.drivers.flexcomm_usart_freertos.MIMXRT595S",
srcs = ['core/devices/MIMXRT595S/drivers/fsl_usart_freertos.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.common.MIMXRT595S'],
name = "platform.drivers.flexio.MIMXRT595S",
srcs = ['core/drivers/flexio/fsl_flexio.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.flexio.MIMXRT595S'],
name = "platform.drivers.flexio_spi.MIMXRT595S",
srcs = ['core/drivers/flexio/spi/fsl_flexio_spi.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.common.MIMXRT595S'],
name = "platform.drivers.flexspi.MIMXRT595S",
srcs = ['core/drivers/flexspi/fsl_flexspi.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.common.MIMXRT595S'],
name = "platform.drivers.i3c.MIMXRT595S",
srcs = ['core/drivers/i3c/fsl_i3c.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.common.MIMXRT595S'],
name = "platform.drivers.iap.MIMXRT595S",
srcs = ['core/devices/MIMXRT595S/drivers/fsl_iap.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.common.MIMXRT595S', ':platform.drivers.inputmux_connections.MIMXRT595S'],
name = "platform.drivers.inputmux.MIMXRT595S",
srcs = ['core/drivers/inputmux/fsl_inputmux.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.common.MIMXRT595S'],
name = "platform.drivers.inputmux_connections.MIMXRT595S",
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.common.MIMXRT595S'],
name = "platform.drivers.lpc_dma.MIMXRT595S",
srcs = ['core/drivers/lpc_dma/fsl_dma.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.common.MIMXRT595S'],
name = "platform.drivers.lpc_gpio.MIMXRT595S",
srcs = ['core/drivers/lpc_gpio/fsl_gpio.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.common.MIMXRT595S'],
name = "platform.drivers.lpc_iopctl.MIMXRT595S",
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.common.MIMXRT595S'],
name = "platform.drivers.mu.MIMXRT595S",
srcs = ['core/drivers/mu/fsl_mu.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.common.MIMXRT595S'],
name = "platform.drivers.pint.MIMXRT595S",
srcs = ['core/drivers/pint/fsl_pint.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.common.MIMXRT595S'],
name = "platform.drivers.power.MIMXRT595S",
srcs = ['core/devices/MIMXRT595S/drivers/fsl_power.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.reset.MIMXRT595S.platform.drivers.common.MIMXRT595S'],
name = "platform.drivers.reset.MIMXRT595S",
srcs = ['core/devices/MIMXRT595S/drivers/fsl_reset.c'],
)
cc_library(
copts = COPTS,
deps = [':commons'],
name = "platform.drivers.reset.MIMXRT595S.platform.drivers.common.MIMXRT595S",
srcs = ['core/devices/MIMXRT595S/drivers/fsl_reset.c', 'core/drivers/common/fsl_common.c', 'core/drivers/common/fsl_common_arm.c'],
visibility = ['//visibility:private'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.common.MIMXRT595S', ':utility.debug_console.MIMXRT595S'],
name = "platform.utilities.assert.MIMXRT595S",
srcs = ['core/utilities/assert/fsl_assert.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':component.serial_manager.MIMXRT595S', ':component.usart_adapter.MIMXRT595S', ':platform.drivers.cache_cache64.MIMXRT595S', ':platform.drivers.clock.MIMXRT595S', ':platform.drivers.common.MIMXRT595S', ':platform.drivers.flash_config.evkmimxrt595.MIMXRT595S', ':platform.drivers.flexcomm_usart.MIMXRT595S', ':platform.drivers.flexspi.MIMXRT595S', ':platform.drivers.lpc_gpio.MIMXRT595S', ':platform.drivers.lpc_iopctl.MIMXRT595S', ':platform.drivers.power.MIMXRT595S', ':platform.drivers.reset.MIMXRT595S', ':platform.utilities.assert.MIMXRT595S', ':utility.debug_console.MIMXRT595S'],
name = "project_template.evkmimxrt595.MIMXRT595S",
srcs = ['core/boards/evkmimxrt595/project_template/board.c', 'core/boards/evkmimxrt595/project_template/clock_config.c', 'core/boards/evkmimxrt595/project_template/pin_mux.c', 'core/boards/evkmimxrt595/project_template/peripherals.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':component.serial_manager.MIMXRT595S', ':platform.drivers.common.MIMXRT595S', ':utility.str.MIMXRT595S'],
name = "utility.debug_console.MIMXRT595S",
srcs = ['core/utilities/debug_console/fsl_debug_console.c'],
)
cc_library(
copts = COPTS,
deps = [':commons', ':platform.drivers.common.MIMXRT595S'],
name = "utility.str.MIMXRT595S",
srcs = ['core/utilities/str/fsl_str.c'],
)