-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kconfig
411 lines (333 loc) · 8.38 KB
/
Kconfig
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
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt.
#
mainmenu "STM32F7-template configuration"
config HAVE_DOT_CONFIG
bool
default y
menu "Board"
config PTYPE
string "PTYPE"
default "stm32f769xx"
help
Processor type (e.g. stm32f769xx)
config BTYPE
string "BTYPE"
default "stm32f769i_discovery"
help
Processor type (e.g. stm32f769i_discovery)
endmenu
menu "Paths"
config TOOLROOT
string "TOOLROOT"
default "C:/GNUToolsARMEmbedded/6-2017-q2-update/bin/"
help
Toolroot path. Leave empty for toolchain already in $PATH.
config LIBROOT
string "LIBROOT"
default "C:/STM32Cube_FW_F7_V1.7.0"
help
STM32F7Cube path.
endmenu
menu "Included BSP libraries"
config BSP_MODULE_ENABLED
bool "BSP_MODULE_ENABLED"
default y
help
Include BSP module.
config BSP_SDRAM_MODULE_ENABLED
bool "BSP_SDRAM_MODULE_ENABLED"
default y
help
Include BSP SDRAM module.
config BSP_AUDIO_MODULE_ENABLED
bool "BSP_AUDIO_MODULE_ENABLED"
default y
help
Include BSP audio module.
config BSP_LCD_MODULE_ENABLED
bool "BSP_LCD_MODULE_ENABLED"
default y
help
Include BSP LCD module.
endmenu
menu "Included BSP components"
config BSP_WM8994_COMPONENT_ENABLED
bool "BSP_WM8994_COMPONENT_ENABLED"
default y
help
Include BSP WM8994 component - hi-fi codec.
config BSP_OTM8009A_COMPONENT_ENABLED
bool "BSP_OTM8009A_COMPONENT_ENABLED"
default y
help
Include BSP OTM8009A component - driver for TFT LCDs.
endmenu
menu "Included HAL libraries"
config HAL_MODULE_ENABLED
bool "HAL_MODULE_ENABLED"
default y
help
Include HAL Initialization module.
config HAL_GPIO_MODULE_ENABLED
bool "HAL_GPIO_MODULE_ENABLED"
default y
help
Include HAL General Purpose Input Output module.
config HAL_DMA_MODULE_ENABLED
bool "HAL_DMA_MODULE_ENABLED"
default y
help
Include HAL Direct Memory Access module.
config HAL_DMA_EX_MODULE_ENABLED
bool "HAL_DMA_EX_MODULE_ENABLED"
default y
depends on HAL_DMA_MODULE_ENABLED
help
Include HAL Direct Memory Access extension module.
config HAL_DMA2D_MODULE_ENABLED
bool "HAL_DMA2D_MODULE_ENABLED"
default y
help
Include HAL Direct Memory Access 2D module.
config HAL_SPI_MODULE_ENABLED
bool "HAL_SPI_MODULE_ENABLED"
default y
help
Include HAL Serial Peripheral Interface module.
config HAL_UART_MODULE_ENABLED
bool "HAL_UART_MODULE_ENABLED"
default y
help
Include HAL Universal Asynchronous Receiver/Transmitter module.
config HAL_USART_MODULE_ENABLED
bool "HAL_USART_MODULE_ENABLED"
default y
help
Include HAL Universal Synchronous Asynchronous Receiver/Transmitter module.
config HAL_I2C_MODULE_ENABLED
bool "HAL_I2C_MODULE_ENABLED"
default y
help
Include HAL Inter-Integrated Circuit module.
config HAL_I2C_EX_MODULE_ENABLED
bool "HAL_I2C_EX_MODULE_ENABLED"
depends on HAL_I2C_MODULE_ENABLED
default y
help
Include HAL Inter-Integrated Circuit extension module.
config HAL_DSI_MODULE_ENABLED
bool "HAL_DSI_MODULE_ENABLED"
default y
help
Include HAL Display Serial Interface module.
config HAL_RCC_MODULE_ENABLED
bool "HAL_RCC_MODULE_ENABLED"
default y
help
Include HAL Reset and Clock Controller module.
config HAL_RCC_EX_MODULE_ENABLED
bool "HAL_RCC_EX_MODULE_ENABLED"
default y
depends on HAL_RCC_MODULE_ENABLED
help
Include HAL Reset and Clock Controller extension module.
config HAL_PWR_MODULE_ENABLED
bool "HAL_PWR_MODULE_ENABLED"
default y
help
Include HAL Power Controller module.
config HAL_PWR_EX_MODULE_ENABLED
bool "HAL_PWR_EX_MODULE_ENABLED"
depends on HAL_PWR_MODULE_ENABLED
default y
help
Include HAL Power Controller extension module.
config HAL_ETH_MODULE_ENABLED
bool "HAL_ETH_MODULE_ENABLED"
default y
help
Include HAL Ethernet module.
config HAL_ADC_MODULE_ENABLED
bool "HAL_ADC_MODULE_ENABLED"
default y
help
Include HAL Analog to Digital Converter module.
config HAL_ADC_EX_MODULE_ENABLED
bool "HAL_ADC_EX_MODULE_ENABLED"
depends on HAL_ADC_MODULE_ENABLED
default y
help
Include HAL Analog to Digital Converter extension module.
config HAL_DAC_MODULE_ENABLED
bool "HAL_DAC_MODULE_ENABLED"
default y
help
Include HAL Digital to Analog Converter module.
config HAL_DAC_EX_MODULE_ENABLED
bool "HAL_DAC_EX_MODULE_ENABLED"
depends on HAL_ADC_MODULE_ENABLED
default y
help
Include HAL Digital to Analog Converter extension module.
config HAL_CAN_MODULE_ENABLED
bool "HAL_CAN_MODULE_ENABLED"
default y
help
Include HAL Controller Area Network module.
config HAL_CEC_MODULE_ENABLED
bool "HAL_CEC_MODULE_ENABLED"
default y
help
Include HAL Consumer Electronics Controller module.
config HAL_CORTEX_MODULE_ENABLED
bool "HAL_CORTEX_MODULE_ENABLED"
default y
help
Include HAL CORTEX module.
config HAL_TIM_MODULE_ENABLED
bool "HAL_TIM_MODULE_ENABLED"
default y
help
Include HAL Timer module.
config HAL_TIM_EX_MODULE_ENABLED
bool "HAL_TIM_EX_MODULE_ENABLED"
depends on HAL_TIM_MODULE_ENABLED
default y
help
Include HAL Timer extension module.
config HAL_NOR_MODULE_ENABLED
bool "HAL_NOR_MODULE_ENABLED"
default y
help
Include HAL NOR module.
config HAL_SRAM_MODULE_ENABLED
bool "HAL_SRAM_MODULE_ENABLED"
default y
help
Include HAL Static Random Access Memory module.
config HAL_SD_MODULE_ENABLED
bool "HAL_SD_MODULE_ENABLED"
default y
help
Include HAL SD card module.
config HAL_SDRAM_MODULE_ENABLED
bool "HAL_SDRAM_MODULE_ENABLED"
default y
help
Include HAL Synchronous Dynamic Random Access Memory module.
config HAL_WWDG_MODULE_ENABLED
bool "HAL_WWDG_MODULE_ENABLED"
default y
help
Include HAL Window Watchdog module.
config HAL_FLASH_MODULE_ENABLED
bool "HAL_FLASH_MODULE_ENABLED"
default y
help
Include HAL internal FLASH memory module.
config HAL_FLASH_EX_MODULE_ENABLED
bool "HAL_FLASH_EX_MODULE_ENABLED"
depends on HAL_FLASH_MODULE_ENABLED
default y
help
Include HAL internal FLASH memory extension module.
config HAL_CRC_MODULE_ENABLED
bool "HAL_CRC_MODULE_ENABLED"
default y
help
Include HAL Cyclic Redundancy Check module.
config HAL_CRC_EX_MODULE_ENABLED
bool "HAL_CRC_EX_MODULE_ENABLED"
depends on HAL_CRC_MODULE_ENABLED
default y
help
Include HAL Cyclic Redundancy Check extension module.
config HAL_MMC_MODULE_ENABLED
bool "HAL_MMC_MODULE_ENABLED"
default y
help
Include HAL Multi Media Card module.
config HAL_PCD_MODULE_ENABLED
bool "HAL_PCD_MODULE_ENABLED"
default y
help
Include HAL PCD (usb peripheral controller?) module.
config HAL_PCD_EX_MODULE_ENABLED
bool "HAL_PCD_EX_MODULE_ENABLED"
depends on HAL_PCD_MODULE_ENABLED
default y
help
Include HAL PCD (usb peripheral controller?) extension module.
config HAL_SAI_MODULE_ENABLED
bool "HAL_SAI_MODULE_ENABLED"
default y
help
Include HAL Serial Audio Interface module.
config HAL_DFSDM_MODULE_ENABLED
bool "HAL_DFSDM_MODULE_ENABLED"
default y
help
Include HAL Digital Filter for SD modulators module.
config HAL_LTDC_MODULE_ENABLED
bool "HAL_LTDC_MODULE_ENABLED"
default y
help
Include HAL LCD TFT Controller module.
config HAL_LTDC_EX_MODULE_ENABLED
bool "HAL_LTDC_EX_MODULE_ENABLED"
depends on HAL_LTDC_MODULE_ENABLED
default y
help
Include HAL LCD TFT Controller extension module.
endmenu
menu "Use LL driver"
config USE_LL_DRIVER
bool "USE_LL_DRIVER"
default y
help
Compiler switch needed to use LL drivers.
endmenu
menu "Included LL libraries"
config LL_FMC_MODULE_ENABLED
bool "LL_FMC_MODULE_ENABLED"
default y
help
Include LL Flexible Memory Controller module.
config LL_SDMMC_MODULE_ENABLED
bool "LL_SDMMC_MODULE_ENABLED"
default y
help
Include LL SD MMC card module.
config LL_RCC_MODULE_ENABLED
bool "LL_RCC_MODULE_ENABLED"
default y
help
Include LL Reset and Clock Controller module.
config LL_USB_MODULE_ENABLED
bool "LL_USB_MODULE_ENABLED"
default y
help
Include LL USB module.
endmenu
menu "Included middlewares"
config LWIP_MIDDLEWARE_ENABLED
bool "LWIP_MIDDLEWARE_ENABLED"
default y
help
Include lwip tcp/ip stack.
config CMSIS_RTOS_ENABLED
bool "CMSIS_RTOS_ENABLED"
default y
help
Include Real Time Operating System.
endmenu
menu "Included utils"
config LCD_LOG_UTIL_ENABLED
bool "LCD_LOG_UTIL_ENABLED"
depends on BSP_LCD_MODULE_ENABLED && HAL_DMA2D_MODULE_ENABLED && HAL_DSI_MODULE_ENABLED && HAL_LTDC_MODULE_ENABLED && BSP_OTM8009A_COMPONENT_ENABLED && HAL_RCC_MODULE_ENABLED && HAL_SDRAM_MODULE_ENABLED && BSP_SDRAM_MODULE_ENABLED && LL_FMC_MODULE_ENABLED && HAL_LTDC_EX_MODULE_ENABLED && HAL_RCC_EX_MODULE_ENABLED
default y
help
Include lcd log util.
endmenu