blob: ddb6124f0e1b04a395a5f5da5bda3bd9b33485c4 (
plain)
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
|
menu "Platform Driver Configuration"
menu "Select UART Driver"
if RT_USING_SERIAL
config BSP_USING_UART1
bool "Enable UART1"
default y
config BSP_USING_UART2
bool "Enable UART2"
default n
config BSP_USING_UART3
bool "Enable UART3"
default n
config BSP_USING_UART4
bool "Enable UART4"
default n
config BSP_USING_UART5
bool "Enable UART5"
default n
config BSP_USING_UART6
bool "Enable UART6"
default n
config BSP_USING_UART7
bool "Enable UART7"
default n
config BSP_USING_UART8
bool "Enable UART8"
default n
endif
endmenu
menu "Select SPI Driver"
config BSP_USING_SPI
bool "Enable SPI"
select RT_USING_SPI
default n
if BSP_USING_SPI
config BSP_USING_SPI1
bool "Enable SPI1"
default n
config BSP_USING_SPI2
bool "Enable SPI2"
default n
config BSP_USING_SPI3
bool "Enable SPI3"
default y
config BSP_USING_SPI4
bool "Enable SPI4"
default n
endif
endmenu
menu "Select I2C Driver"
config BSP_USING_I2C
bool "Enable I2C"
select RT_USING_I2C
default n
if BSP_USING_I2C
config BSP_USING_I2C1
bool "Enable I2C1"
default n
if BSP_USING_I2C1
config I2C1_BAUD_RATE
int "Set i2c1 baud rate (HZ)"
default 100000
endif
config BSP_USING_I2C2
bool "Enable I2C2"
default n
if BSP_USING_I2C2
config I2C2_BAUD_RATE
int "Set i2c2 baud rate (HZ)"
default 100000
endif
config BSP_USING_I2C3
bool "Enable I2C3"
default n
if BSP_USING_I2C3
config I2C3_BAUD_RATE
int "Set i2c3 baud rate (HZ)"
default 100000
endif
config BSP_USING_I2C4
bool "Enable I2C4"
default n
if BSP_USING_I2C4
config I2C4_BAUD_RATE
int "Set i2c4 baud rate (HZ)"
default 100000
endif
endif
endmenu
menu "Select LCD Driver"
config BSP_USING_LCD
bool "Enable LCD"
select RT_USING_LCD
default y
if BSP_USING_LCD
config BSP_LCD_WIDTH
int "Width of LCD panel"
default 1000
config BSP_LCD_HEIGHT
int "Height of LCD panel"
default 600
config BSP_LCD_VSW
int "value of LCD_VSW"
default 2
config BSP_LCD_VBP
int "value of LCD_VBP"
default 23
config BSP_LCD_VFP
int "value of LCD_VFP"
default 22
config BSP_LCD_HSW
int "value of LCD_HSW"
default 2
config BSP_LCD_HBP
int "value of LCD_HBP"
default 46
config BSP_LCD_HFP
int "value of LCD_HFP"
default 210
config BSP_LCD_PLL_DIV
int "value of PLL DIV"
default 8
endif
endmenu
menu "Select SDHC Driver"
if RT_USING_SDIO
config RT_USING_SDIO1
bool "Enable SDHC1"
default n
config RT_USING_SDIO2
bool "Enable SDHC2"
default n
endif
endmenu
menu "Select RTC Driver"
if RT_USING_RTC
config BSP_USING_ONCHIP_RTC
bool "Enable On-Chip RTC"
default y
endif
endmenu
menu "Select PWM Driver"
config RT_USING_PWM
bool "Enable PWM"
default n
if RT_USING_PWM
config BSP_USING_PWM1
bool "Enable PWM1"
default n
config BSP_USING_PWM2
bool "Enable PWM2"
default n
config BSP_USING_PWM3
bool "Enable PWM3"
default n
config BSP_USING_PWM4
bool "Enable PWM4"
default n
endif
endmenu
menu "Select ADC Driver"
config RT_USING_ADC
bool "Enable ADC"
default n
if RT_USING_ADC
config BSP_USING_ADC1_1
bool "Enable ADC1 CH1"
default n
config BSP_USING_ADC1_2
bool "Enable ADC1 CH2"
default n
config BSP_USING_ADC1_3
bool "Enable ADC1 CH3"
default n
config BSP_USING_ADC1_4
bool "Enable ADC1 CH4"
default n
endif
endmenu
menu "Select WDT Driver"
if RT_USING_WDT
config RT_USING_WDT1
bool "Enable WDT1"
default n
config RT_USING_WDT2
bool "Enable WDT2"
default n
config RT_USING_WDT3
bool "Enable WDT3"
default n
endif
endmenu
menu "Select ENET Driver"
config RT_USING_ENET1
bool "Enable ENET1"
default y
config RT_USING_ENET2
bool "Enable ENET2"
default n
endmenu
menu "Select Wifi Driver"
config RT_USING_WIFI_RW007
bool "Enable wifi RW007"
select BSP_USING_SPI2
select PKG_USING_RW007
select RT_USING_WIFI
default n
if RT_USING_WIFI_RW007
config RW007_DAFAULT_SSID
string "default ssid"
default "rt-thread"
config RW007_DAFAULT_PASSWARD
string "default passward"
default "12345678"
endif
endmenu
menu "Select USB Driver"
config BSP_USING_USB_DEVICE
bool "Enable USB device"
default y
endmenu
endmenu
|