1menu "Platform Driver Configuration" 2 3menu "Select UART Driver" 4 if RT_USING_SERIAL 5 config BSP_USING_UART1 6 bool "Enable UART1" 7 default y 8 config BSP_USING_UART2 9 bool "Enable UART2" 10 default n 11 config BSP_USING_UART3 12 bool "Enable UART3" 13 default n 14 config BSP_USING_UART4 15 bool "Enable UART4" 16 default n 17 config BSP_USING_UART5 18 bool "Enable UART5" 19 default n 20 config BSP_USING_UART6 21 bool "Enable UART6" 22 default n 23 config BSP_USING_UART7 24 bool "Enable UART7" 25 default n 26 config BSP_USING_UART8 27 bool "Enable UART8" 28 default n 29 endif 30endmenu 31 32menu "Select SPI Driver" 33 config BSP_USING_SPI 34 bool "Enable SPI" 35 select RT_USING_SPI 36 default n 37 38 if BSP_USING_SPI 39 config BSP_USING_SPI1 40 bool "Enable SPI1" 41 default n 42 config BSP_USING_SPI2 43 bool "Enable SPI2" 44 default n 45 config BSP_USING_SPI3 46 bool "Enable SPI3" 47 default y 48 config BSP_USING_SPI4 49 bool "Enable SPI4" 50 default n 51 endif 52endmenu 53 54menu "Select I2C Driver" 55 config BSP_USING_I2C 56 bool "Enable I2C" 57 select RT_USING_I2C 58 default n 59 60 if BSP_USING_I2C 61 config BSP_USING_I2C1 62 bool "Enable I2C1" 63 default n 64 if BSP_USING_I2C1 65 config I2C1_BAUD_RATE 66 int "Set i2c1 baud rate (HZ)" 67 default 100000 68 endif 69 70 config BSP_USING_I2C2 71 bool "Enable I2C2" 72 default n 73 if BSP_USING_I2C2 74 config I2C2_BAUD_RATE 75 int "Set i2c2 baud rate (HZ)" 76 default 100000 77 endif 78 79 config BSP_USING_I2C3 80 bool "Enable I2C3" 81 default n 82 if BSP_USING_I2C3 83 config I2C3_BAUD_RATE 84 int "Set i2c3 baud rate (HZ)" 85 default 100000 86 endif 87 88 config BSP_USING_I2C4 89 bool "Enable I2C4" 90 default n 91 if BSP_USING_I2C4 92 config I2C4_BAUD_RATE 93 int "Set i2c4 baud rate (HZ)" 94 default 100000 95 endif 96 endif 97endmenu 98 99menu "Select LCD Driver" 100config BSP_USING_LCD 101 bool "Enable LCD" 102 select RT_USING_LCD 103 default y 104 105 if BSP_USING_LCD 106 config BSP_LCD_WIDTH 107 int "Width of LCD panel" 108 default 1000 109 config BSP_LCD_HEIGHT 110 int "Height of LCD panel" 111 default 600 112 config BSP_LCD_VSW 113 int "value of LCD_VSW" 114 default 2 115 config BSP_LCD_VBP 116 int "value of LCD_VBP" 117 default 23 118 config BSP_LCD_VFP 119 int "value of LCD_VFP" 120 default 22 121 config BSP_LCD_HSW 122 int "value of LCD_HSW" 123 default 2 124 config BSP_LCD_HBP 125 int "value of LCD_HBP" 126 default 46 127 config BSP_LCD_HFP 128 int "value of LCD_HFP" 129 default 210 130 config BSP_LCD_PLL_DIV 131 int "value of PLL DIV" 132 default 8 133 endif 134endmenu 135 136menu "Select SDHC Driver" 137 if RT_USING_SDIO 138 config RT_USING_SDIO1 139 bool "Enable SDHC1" 140 default n 141 config RT_USING_SDIO2 142 bool "Enable SDHC2" 143 default n 144 endif 145endmenu 146 147menu "Select RTC Driver" 148 if RT_USING_RTC 149 config BSP_USING_ONCHIP_RTC 150 bool "Enable On-Chip RTC" 151 default y 152 endif 153endmenu 154 155menu "Select PWM Driver" 156 config RT_USING_PWM 157 bool "Enable PWM" 158 default n 159 if RT_USING_PWM 160 config BSP_USING_PWM1 161 bool "Enable PWM1" 162 default n 163 config BSP_USING_PWM2 164 bool "Enable PWM2" 165 default n 166 config BSP_USING_PWM3 167 bool "Enable PWM3" 168 default n 169 config BSP_USING_PWM4 170 bool "Enable PWM4" 171 default n 172 endif 173endmenu 174 175menu "Select ADC Driver" 176 config RT_USING_ADC 177 bool "Enable ADC" 178 default n 179 180 if RT_USING_ADC 181 config BSP_USING_ADC1_1 182 bool "Enable ADC1 CH1" 183 default n 184 config BSP_USING_ADC1_2 185 bool "Enable ADC1 CH2" 186 default n 187 config BSP_USING_ADC1_3 188 bool "Enable ADC1 CH3" 189 default n 190 config BSP_USING_ADC1_4 191 bool "Enable ADC1 CH4" 192 default n 193 endif 194endmenu 195 196menu "Select WDT Driver" 197 if RT_USING_WDT 198 config RT_USING_WDT1 199 bool "Enable WDT1" 200 default n 201 config RT_USING_WDT2 202 bool "Enable WDT2" 203 default n 204 config RT_USING_WDT3 205 bool "Enable WDT3" 206 default n 207 endif 208endmenu 209 210menu "Select ENET Driver" 211 config RT_USING_ENET1 212 bool "Enable ENET1" 213 default y 214 config RT_USING_ENET2 215 bool "Enable ENET2" 216 default n 217endmenu 218 219menu "Select Wifi Driver" 220 config RT_USING_WIFI_RW007 221 bool "Enable wifi RW007" 222 select BSP_USING_SPI2 223 select PKG_USING_RW007 224 select RT_USING_WIFI 225 default n 226 if RT_USING_WIFI_RW007 227 config RW007_DAFAULT_SSID 228 string "default ssid" 229 default "rt-thread" 230 config RW007_DAFAULT_PASSWARD 231 string "default passward" 232 default "12345678" 233 endif 234endmenu 235 236menu "Select USB Driver" 237 config BSP_USING_USB_DEVICE 238 bool "Enable USB device" 239 default y 240endmenu 241 242endmenu 243