1menu "Hardware Drivers Config" 2 3 4config BSP_USING_HYPERFLASH 5 bool 6 default n 7 8config BSP_USING_4MFLASH 9 bool 10 default n 11 12config SOC_MIMXRT1062DVL6A 13 bool 14 select SOC_IMXRT1060_SERIES 15 select BSP_USING_4MFLASH 16 select RT_USING_COMPONENTS_INIT 17 select RT_USING_USER_MAIN 18 default y 19 20menu "Onboard Peripheral Drivers" 21 22 config BSP_USING_SDRAM 23 bool "Enable SDRAM" 24 default n 25 26 menuconfig BSP_USING_ETH 27 bool "Enable Ethernet" 28 select RT_USING_NETDEV 29 select RT_USING_LWIP 30 default n 31 32 if BSP_USING_ETH 33 config BSP_USING_PHY 34 select RT_USING_PHY 35 bool "Enable ethernet phy" 36 default y 37 38 if BSP_USING_PHY 39 config PHY_USING_KSZ8081 40 bool "i.MX RT1060EVK uses ksz8081 phy" 41 default y 42 43 if PHY_USING_KSZ8081 44 config PHY_KSZ8081_ADDRESS 45 int "Specify address of phy device" 46 default 2 47 48 config PHY_RESET_KSZ8081_PORT 49 int "indicate port of reset" 50 default 1 51 52 config PHY_RESET_KSZ8081_PIN 53 int "indicate pin of reset" 54 default 9 55 56 config FSL_FEATURE_PHYKSZ8081_USE_RMII50M_MODE 57 bool "Enable the PHY ksz8081 RMII50M mode" 58 depends on PHY_USING_KSZ8081 59 default y 60 endif 61 endif 62 endif 63 64 menuconfig BSP_USING_LCD 65 bool "Enable LCD" 66 default n 67 if BSP_USING_LCD 68 config LCD_WIDTH 69 int "width" 70 default 480 71 72 config LCD_HEIGHT 73 int "height" 74 default 272 75 76 config LCD_HFP 77 int "HFP" 78 default 4 79 80 config LCD_VFP 81 int "VFP" 82 default 4 83 84 config LCD_HBP 85 int "HBP" 86 default 8 87 88 config LCD_VBP 89 int "VBP" 90 default 2 91 92 config LCD_HSW 93 int "HSW" 94 default 40 95 96 config LCD_VSW 97 int "VSW" 98 default 10 99 100 config LCD_BL_PIN 101 int "Backlight ctrl pin" 102 default 63 103 104 config LCD_RST_PIN 105 int "Reset pin" 106 default 2 107 endif 108 109 menuconfig BSP_USING_TOUCHPAD 110 bool "Enable TOUCHPAD" 111 select BSP_USING_PXP 112 select BSP_USING_CACHE 113 select BSP_USING_I2C 114 select BSP_USING_LCD 115 default n 116 if BSP_USING_TOUCHPAD 117 choice 118 prompt "Select panel" 119 default DEMO_PANEL_RK043FN66HS 120 121 config DEMO_PANEL_RK043FN02H 122 bool "RK043FN02H-CT" 123 124 config DEMO_PANEL_RK043FN66HS 125 bool "RK043FN66HS-CTG" 126 endchoice 127 endif 128 129 config BSP_USING_LVGL 130 bool "Enable LVGL for LCD" 131 select BSP_USING_PXP 132 select BSP_USING_CACHE 133 select BSP_USING_LCD 134 select BSP_USING_TOUCHPAD 135 select PKG_USING_LVGL 136 default n 137 138 if BSP_USING_LVGL 139 config BSP_USING_LVGL_DEMO 140 bool "Enable LVGL demo" 141 select PKG_USING_LV_MUSIC_DEMO 142 default y 143 144 config BSP_USING_NXP_GUIGUIDER 145 bool "Support NXP GUI Guider" 146 select PKG_USING_GUI_GUIDER_DEMO 147 default n 148 endif 149 150 menuconfig BSP_USING_FS 151 bool "Enable File System" 152 select RT_USING_DFS_DEVFS 153 select RT_USING_DFS 154 default n 155 156 if BSP_USING_FS 157 config BSP_USING_SDCARD_FATFS 158 bool "Enable SDCARD (FATFS)" 159 select BSP_USING_SDIO 160 select RT_USING_DFS_ELMFAT 161 default n 162 endif 163endmenu 164 165menu "On-chip Peripheral Drivers" 166 167 config BSP_USING_DMA 168 bool "Enable DMA" 169 default n 170 171 config BSP_USING_GPIO 172 bool "Enable GPIO" 173 select RT_USING_PIN 174 default y 175 176 config BSP_USING_RTC 177 bool "Enable RTC" 178 select RT_USING_RTC 179 default n 180 181 config BSP_USING_SDIO 182 bool "Enable SDIO" 183 select RT_USING_SDIO 184 select RT_USING_DFS 185 default n 186 187 if BSP_USING_SDIO 188 config CODE_STORED_ON_SDCARD 189 bool "Enable Code STORED On SDCARD" 190 default n 191 help 192 "SD CARD work as boot devive" 193 endif 194 195 config BSP_USING_USB 196 bool "Enable USB" 197 select RT_USING_USB_HOST 198 default n 199 200 if BSP_USING_USB 201 config BSP_USB0_HOST 202 bool "Enable USB0" 203 default n 204 205 config BSP_USB1_HOST 206 bool "Enable USB1" 207 default n 208 endif 209 210 menuconfig BSP_USING_I2C 211 bool "Enable I2C" 212 select RT_USING_I2C 213 default y 214 if BSP_USING_I2C 215 config BSP_USING_I2C1 216 bool 217 default y 218 choice 219 prompt "Select I2C1 badurate" 220 default HW_I2C1_BADURATE_100kHZ 221 222 config HW_I2C1_BADURATE_100kHZ 223 bool "Badurate 100kHZ" 224 225 config HW_I2C1_BADURATE_400kHZ 226 bool "Badurate 400kHZ" 227 endchoice 228 endif 229 230 menuconfig BSP_USING_LPUART 231 bool "Enable UART" 232 select RT_USING_SERIAL 233 default y 234 if BSP_USING_LPUART 235 config BSP_USING_LPUART1 236 bool "Enable LPUART1" 237 default y 238 config BSP_USING_LPUART2 239 bool "Enable LPUART2" 240 default n 241 config BSP_USING_LPUART3 242 bool "Enable LPUART3" 243 default n 244 config BSP_USING_LPUART4 245 bool "Enable LPUART4" 246 default n 247 config BSP_USING_LPUART5 248 bool "Enable LPUART5" 249 default n 250 config BSP_USING_LPUART6 251 bool "Enable LPUART6" 252 default n 253 config BSP_USING_LPUART7 254 bool "Enable LPUART7" 255 default n 256 config BSP_USING_LPUART8 257 bool "Enable LPUART8" 258 default n 259 endif 260 261 menuconfig BSP_USING_SPI 262 bool "Enable SPI" 263 select RT_USING_SPI 264 select RT_USING_PIN 265 default n 266 267 if BSP_USING_SPI 268 config BSP_USING_SPI1 269 bool "Enable SPI1" 270 default n 271 272 config BSP_USING_BLOCKING_SPI 273 bool "Enable SPI Polling xfer" 274 default n 275 276 config BSP_SPI1_USING_DMA 277 bool "Enable SPI1 DMA xfer" 278 depends on BSP_USING_SPI1 279 select BSP_USING_DMA 280 default n 281 282 config BSP_SPI1_RX_DMA_CHANNEL 283 depends on BSP_SPI1_USING_DMA 284 int "Set SPI1 RX DMA channel (0-32)" 285 default 0 286 287 config BSP_SPI1_TX_DMA_CHANNEL 288 depends on BSP_SPI1_USING_DMA 289 int "Set SPI1 TX DMA channel (0-32)" 290 default 1 291 endif 292 293 config BSP_USING_PXP 294 bool "Enable PXP" 295 default n 296 297 config BSP_USING_CACHE 298 bool "Enable CACHE" 299 default n 300 301endmenu 302 303menu "Board extended module Drivers" 304 305endmenu 306 307endmenu 308