1menu "Hardware Drivers Config" 2 3config SOC_HPM6000 4 bool 5 select SOC_SERIES_HPM6000 6 select RT_USING_COMPONENTS_INIT 7 select RT_USING_USER_MAIN 8 default y 9 10config BSP_USING_ENET_PHY_LAN8720 11 bool 12 default n 13 14menu "On-chip Peripheral Drivers" 15 config BSP_USING_GPIO 16 bool "Enable GPIO" 17 select RT_USING_PIN if BSP_USING_GPIO 18 default n 19 20 config RW007_USING_BLE 21 bool "Enable RW007 BLE" 22 default n 23 select RT_USING_SPI if RW007_USING_BLE 24 select BSP_USING_SPI1 if RW007_USING_BLE 25 26 config RW007_USING_WIFI 27 bool "Enable RW007 WIFI" 28 select RT_USING_SPI if RW007_USING_BLE 29 select BSP_USING_SPI1 if RW007_USING_BLE 30 31 menuconfig BSP_USING_UART 32 bool "Enable UART" 33 default y 34 select RT_USING_SERIAL 35 36 if BSP_USING_UART 37 menuconfig BSP_USING_UART0 38 bool "Enable UART0 (Debugger)" 39 default y 40 if BSP_USING_UART0 41 config BSP_UART0_RX_USING_DMA 42 bool "Enable UART0 RX DMA" 43 depends on BSP_USING_UART0 && RT_SERIAL_USING_DMA 44 default n 45 config BSP_UART0_TX_USING_DMA 46 bool "Enable UART0 TX DMA" 47 depends on BSP_USING_UART0 && RT_SERIAL_USING_DMA 48 default n 49 config BSP_UART0_RX_BUFSIZE 50 int "Set UART0 RX buffer size" 51 range 64 65535 52 depends on RT_USING_SERIAL_V2 53 default 128 54 config BSP_UART0_TX_BUFSIZE 55 int "Set UART0 TX buffer size" 56 range 0 65535 57 depends on RT_USING_SERIAL_V2 58 default 0 59 endif 60 menuconfig BSP_USING_UART6 61 bool "Enable UART6" 62 default n 63 if BSP_USING_UART6 64 config BSP_UART6_RX_USING_DMA 65 bool "Enable UART6 RX DMA" 66 depends on BSP_USING_UART6 && RT_SERIAL_USING_DMA 67 default n 68 config BSP_UART6_TX_USING_DMA 69 bool "Enable UART6 TX DMA" 70 depends on BSP_USING_UART6 && RT_SERIAL_USING_DMA 71 default n 72 config BSP_UART6_RX_BUFSIZE 73 int "Set UART6 RX buffer size" 74 range 64 65535 75 depends on RT_USING_SERIAL_V2 76 default 128 77 config BSP_UART6_TX_BUFSIZE 78 int "Set UART6 TX buffer size" 79 range 0 65535 80 depends on RT_USING_SERIAL_V2 81 default 0 82 endif 83 menuconfig BSP_USING_UART13 84 bool "Enable UART13" 85 default y 86 if BSP_USING_UART13 87 config BSP_UART13_RX_USING_DMA 88 bool "Enable UART13 RX DMA" 89 depends on BSP_USING_UART13 && RT_SERIAL_USING_DMA 90 default n 91 config BSP_UART13_TX_USING_DMA 92 bool "Enable UART13 TX DMA" 93 depends on BSP_USING_UART13 && RT_SERIAL_USING_DMA 94 default n 95 config BSP_UART13_RX_BUFSIZE 96 int "Set UART13 RX buffer size" 97 range 64 65535 98 depends on RT_USING_SERIAL_V2 99 default 128 100 config BSP_UART13_TX_BUFSIZE 101 int "Set UART13 TX buffer size" 102 range 0 65535 103 depends on RT_USING_SERIAL_V2 104 default 0 105 endif 106 menuconfig BSP_USING_UART14 107 bool "Enable UART14" 108 default n 109 if BSP_USING_UART14 110 config BSP_UART14_RX_USING_DMA 111 bool "Enable UART14 RX DMA" 112 depends on BSP_USING_UART14 && RT_SERIAL_USING_DMA 113 default n 114 config BSP_UART14_TX_USING_DMA 115 bool "Enable UART14 TX DMA" 116 depends on BSP_USING_UART14 && RT_SERIAL_USING_DMA 117 default n 118 config BSP_UART14_RX_BUFSIZE 119 int "Set UART14 RX buffer size" 120 range 64 65535 121 depends on RT_USING_SERIAL_V2 122 default 128 123 config BSP_UART14_TX_BUFSIZE 124 int "Set UART14 TX buffer size" 125 range 0 65535 126 depends on RT_USING_SERIAL_V2 127 default 0 128 endif 129 endif 130 131 132 133 menuconfig BSP_USING_SPI 134 bool "Enable SPI" 135 default n 136 select RT_USING_SPI if BSP_USING_SPI 137 if BSP_USING_SPI 138 config BSP_USING_SPI1 139 bool "Enable SPI1" 140 default y 141 if BSP_USING_SPI1 142 config BSP_SPI1_USING_DMA 143 bool "Enable SPI1 DMA" 144 default n 145 endif 146 config BSP_USING_SPI2 147 bool "Enable SPI2" 148 default n 149 if BSP_USING_SPI2 150 config BSP_SPI2_USING_DMA 151 bool "Enable SPI2 DMA" 152 default n 153 endif 154 config BSP_USING_SPI3 155 bool "Enable SPI3" 156 default n 157 if BSP_USING_SPI3 158 config BSP_SPI3_USING_DMA 159 bool "Enable SPI3 DMA" 160 default n 161 endif 162 endif 163 164 menuconfig BSP_USING_RTC 165 bool "Enable RTC" 166 default n 167 168 menuconfig BSP_USING_ETH 169 bool "Enable Ethernet" 170 default n 171 select RT_USING_ETH 172 if BSP_USING_ETH 173 config BSP_USING_ETH1 174 bool "Enable ETH1" 175 default n 176 select BSP_USING_ENET_PHY_LAN8720 177 endif 178 179 menuconfig BSP_USING_SDXC 180 bool "Enable SDXC" 181 default n 182 select RT_USING_SDIO if BSP_USING_SDXC 183 if BSP_USING_SDXC 184 config BSP_USING_SDXC0 185 bool "Enable SDXC0" 186 default n 187 if BSP_USING_SDXC0 188 choice 189 prompt "Select BUS_WIDTH" 190 default BSP_SDXC0_BUS_WIDTH_8BIT 191 config BSP_SDXC0_BUS_WIDTH_1BIT 192 bool "1-bit" 193 config BSP_SDXC0_BUS_WIDTH_4BIT 194 bool "4-bit" 195 config BSP_SDXC0_BUS_WIDTH_8BIT 196 bool "8-bit" 197 endchoice 198 choice 199 prompt "Select Voltage" 200 default BSP_SDXC0_VOLTAGE_1V8 201 config BSP_SDXC0_VOLTAGE_3V3 202 bool "3.3V" 203 config BSP_SDXC0_VOLTAGE_1V8 204 bool "1.8V" 205 config BSP_SDXC0_VOLTAGE_DUAL 206 bool "Dual voltage 3.3V / 1.8V" 207 endchoice 208 config BSP_SDXC0_VSEL_PIN 209 default "None" 210 string "VSEL pin name" 211 config BSP_SDXC0_PWR_PIN 212 default "None" 213 string "PWR pin name" 214 endif 215 216 config BSP_USING_SDXC1 217 bool "Enable SDXC1" 218 default n 219 if BSP_USING_SDXC1 220 choice 221 prompt "Select BUS_WIDTH" 222 default BSP_SDXC1_BUS_WIDTH_4BIT 223 config BSP_SDXC1_BUS_WIDTH_1BIT 224 bool "1-bit" 225 config BSP_SDXC1_BUS_WIDTH_4BIT 226 bool "4-bit" 227 endchoice 228 choice 229 prompt "Select Voltage" 230 default BSP_SDXC1_VOLTAGE_3V3 231 config BSP_SDXC1_VOLTAGE_3V3 232 bool "3.3V" 233 config BSP_SDXC1_VOLTAGE_1V8 234 bool "1.8V" 235 config BSP_SDXC1_VOLTAGE_DUAL 236 bool "Dual voltage 3.3V / 1.8V" 237 endchoice 238 config BSP_SDXC1_VSEL_PIN 239 default "PD29" 240 string "VSEL pin name" 241 config BSP_SDXC1_PWR_PIN 242 default "None" 243 string "PWR pin name" 244 endif 245 endif 246 247 menuconfig BSP_USING_TOUCH 248 bool "Enable touch" 249 default n 250 if BSP_USING_TOUCH 251 config BSP_USING_TOUCH_GT911 252 bool "Enable GT911" 253 default y 254 255 config BSP_USING_TOUCH_FT5406 256 bool "Enable FT5406" 257 default n 258 endif 259 260 menuconfig BSP_USING_LCD 261 bool "Enable LCD" 262 default n 263 if BSP_USING_LCD 264 config BSP_USING_LCD_ISR 265 bool "Enable LCD interrupt" 266 default n 267 endif 268 269 menuconfig BSP_USING_LVGL 270 bool "Enable LVGL" 271 default n 272 select PKG_USING_LVGL if BSP_USING_LVGL 273 select BSP_USING_PDMA if BSP_USING_LVGL 274 275 menuconfig BSP_USING_PDMA 276 bool "Enable PDMA" 277 default n 278 279 menuconfig BSP_USING_GPTMR 280 bool "Enable GPTMR" 281 default n 282 select RT_USING_HWTIMER if BSP_USING_GPTMR 283 if BSP_USING_GPTMR 284 config BSP_USING_GPTMR1 285 bool "Enable GPTMR1" 286 default n 287 config BSP_USING_GPTMR2 288 bool "Enable GPTMR2" 289 default n 290 config BSP_USING_GPTMR3 291 bool "Enable GPTMR3" 292 default n 293 config BSP_USING_GPTMR4 294 bool "Enable GPTMR4" 295 default n 296 config BSP_USING_GPTMR5 297 bool "Enable GPTMR5" 298 default n 299 config BSP_USING_GPTMR6 300 bool "Enable GPTMR6" 301 default n 302 config BSP_USING_GPTMR7 303 bool "Enable GPTMR7" 304 default n 305 endif 306 307 menuconfig BSP_USING_I2C 308 bool "Enable I2C" 309 default n 310 if BSP_USING_I2C 311 config BSP_USING_I2C0 312 bool "Enable I2C0" 313 default y 314 315 if BSP_USING_I2C0 316 config BSP_I2C0_USING_DMA 317 bool "Enable I2C0 DMA" 318 default n 319 endif 320 321 config BSP_USING_I2C3 322 bool "Enable I2C3" 323 default n 324 325 if BSP_USING_I2C3 326 config BSP_I2C3_USING_DMA 327 bool "Enable I2C3 DMA" 328 default n 329 endif 330 331 endif 332 333 menuconfig BSP_USING_FEMC 334 bool "Enable FEMC" 335 default y 336 menuconfig INIT_EXT_RAM_FOR_DATA 337 bool "INIT_EXT_RAM_FOR_DATA" 338 default y 339 340 341 menuconfig BSP_USING_XPI_FLASH 342 bool "Enable XPI FLASH" 343 default n 344 select RT_USING_FAL if BSP_USING_XPI_FLASH 345 346 menuconfig BSP_USING_PWM 347 bool "Enable PWM" 348 default n 349 350 menuconfig BSP_USING_DAO 351 bool "Enable Audio DAO play" 352 default n 353 select RT_USING_AUDIO if BSP_USING_DAO 354 355 menuconfig BSP_USING_PDM 356 bool "Enable Audio PDM record" 357 default n 358 select RT_USING_AUDIO if BSP_USING_PDM 359 360 menuconfig BSP_USING_I2S 361 bool "Enable Audio I2S device" 362 default n 363 select RT_USING_AUDIO if BSP_USING_I2S 364 if BSP_USING_I2S 365 config BSP_USING_I2S0 366 bool "Enable I2S0" 367 default y 368 endif 369 370 menuconfig BSP_USING_USB 371 bool "Enable USB" 372 default n 373 if BSP_USING_USB 374 config BSP_USING_USB_DEVICE 375 bool "Enable USB Device" 376 default n 377 config BSP_USING_USB_HOST 378 bool "Enable USB HOST" 379 select RT_USING_CACHE 380 default n 381 endif 382 383 384 menuconfig BSP_USING_WDG 385 bool "Enable Watchdog" 386 default n 387 select RT_USING_WDT if BSP_USING_WDG 388 if BSP_USING_WDG 389 config BSP_USING_WDG0 390 bool "Enable WDG0" 391 default n 392 config BSP_USING_WDG1 393 bool "Enable WDG1" 394 default n 395 config BSP_USING_WDG2 396 bool "Enable WDG2" 397 default n 398 config BSP_USING_WDG3 399 bool "Enable WDG3" 400 default n 401 endif 402 403 menuconfig BSP_USING_CAN 404 bool "Enable CAN" 405 default n 406 select RT_USING_CAN if BSP_USING_CAN 407 if BSP_USING_CAN 408 config BSP_USING_CAN0 409 bool "Enable CAN0" 410 default n 411 config BSP_USING_CAN1 412 bool "Enable CAN1" 413 default n 414 config BSP_USING_CAN2 415 bool "Enable CAN2" 416 default n 417 config BSP_USING_CAN3 418 bool "Enable CAN3" 419 default n 420 endif 421 422 menuconfig BSP_USING_ADC 423 bool "Enable ADC" 424 default n 425 select RT_USING_ADC if BSP_USING_ADC 426 if BSP_USING_ADC 427 menuconfig BSP_USING_ADC12 428 bool "Enable ADC12" 429 default n 430 if BSP_USING_ADC12 431 config BSP_USING_ADC0 432 bool "Enable ADC0" 433 default n 434 config BSP_USING_ADC1 435 bool "Enable ADC1" 436 default n 437 config BSP_USING_ADC2 438 bool "Enable ADC2" 439 default n 440 endif 441 menuconfig BSP_USING_ADC16 442 bool "Enable ADC16" 443 default n 444 if BSP_USING_ADC16 445 config BSP_USING_ADC3 446 bool "Enable ADC3" 447 default n 448 endif 449 endif 450 451 menuconfig BSP_USING_CAMERA 452 bool "Enable camera" 453 default n 454 if BSP_USING_CAMERA 455 config BSP_USING_CAMERA_MT9M114 456 bool "Enable mt9m114" 457 default y 458 459 config BSP_USING_CAMERA_OV5640 460 bool "Enable ov5640" 461 default n 462 463 config BSP_USING_CAMERA_OV7725 464 bool "Enable ov7725" 465 default n 466 endif 467 468 menuconfig BSP_USING_JPEG 469 bool "Enable JPEG Driver" 470 default n 471 472 menuconfig BSP_USING_CAM 473 bool "Enable CAM Driver" 474 default n 475 476 menuconfig BSP_USING_PANEL 477 bool "Enable panel" 478 default n 479 if BSP_USING_PANEL 480 config BSP_USEING_PANEL_RGB_TM070RDH13 481 bool "Enable RGB TM070RDH13" 482 default y 483 endif 484 485 menuconfig BSP_USING_RTT_LCD_DRIVER 486 bool "Enable RTT LCD Driver" 487 select BSP_USING_LCD 488 default n 489 490endmenu 491 492endmenu 493