Kconfig 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. menu "Hardware Drivers Config"
  2. config BSP_USING_HYPERFLASH
  3. bool
  4. default n
  5. config BSP_USING_4MFLASH
  6. bool
  7. default n
  8. config SOC_MIMXRT1062DVL6A
  9. bool
  10. select SOC_IMXRT1060_SERIES
  11. select BSP_USING_4MFLASH
  12. select RT_USING_COMPONENTS_INIT
  13. select RT_USING_USER_MAIN
  14. default y
  15. menu "Onboard Peripheral Drivers"
  16. config BSP_USING_SDRAM
  17. bool "Enable SDRAM"
  18. default n
  19. menuconfig BSP_USING_ETH
  20. bool "Enable Ethernet"
  21. select RT_USING_NETDEV
  22. select RT_USING_LWIP
  23. default n
  24. if BSP_USING_ETH
  25. config BSP_USING_PHY
  26. select RT_USING_PHY
  27. bool "Enable ethernet phy"
  28. default y
  29. if BSP_USING_PHY
  30. config PHY_USING_KSZ8081
  31. bool "i.MX RT1060EVK uses ksz8081 phy"
  32. default y
  33. if PHY_USING_KSZ8081
  34. config PHY_KSZ8081_ADDRESS
  35. int "Specify address of phy device"
  36. default 2
  37. config PHY_RESET_KSZ8081_PORT
  38. int "indicate port of reset"
  39. default 1
  40. config PHY_RESET_KSZ8081_PIN
  41. int "indicate pin of reset"
  42. default 9
  43. config FSL_FEATURE_PHYKSZ8081_USE_RMII50M_MODE
  44. bool "Enable the PHY ksz8081 RMII50M mode"
  45. depends on PHY_USING_KSZ8081
  46. default y
  47. endif
  48. endif
  49. endif
  50. menuconfig BSP_USING_LCD
  51. bool "Enable LCD"
  52. default n
  53. if BSP_USING_LCD
  54. config LCD_WIDTH
  55. int "width"
  56. default 480
  57. config LCD_HEIGHT
  58. int "height"
  59. default 272
  60. config LCD_HFP
  61. int "HFP"
  62. default 4
  63. config LCD_VFP
  64. int "VFP"
  65. default 4
  66. config LCD_HBP
  67. int "HBP"
  68. default 8
  69. config LCD_VBP
  70. int "VBP"
  71. default 2
  72. config LCD_HSW
  73. int "HSW"
  74. default 40
  75. config LCD_VSW
  76. int "VSW"
  77. default 10
  78. config LCD_BL_PIN
  79. int "Backlight ctrl pin"
  80. default 63
  81. config LCD_RST_PIN
  82. int "Reset pin"
  83. default 2
  84. endif
  85. menuconfig BSP_USING_TOUCHPAD
  86. bool "Enable TOUCHPAD"
  87. select BSP_USING_PXP
  88. select BSP_USING_CACHE
  89. select BSP_USING_I2C
  90. select BSP_USING_LCD
  91. default n
  92. if BSP_USING_TOUCHPAD
  93. choice
  94. prompt "Select panel"
  95. default DEMO_PANEL_RK043FN66HS
  96. config DEMO_PANEL_RK043FN02H
  97. bool "RK043FN02H-CT"
  98. config DEMO_PANEL_RK043FN66HS
  99. bool "RK043FN66HS-CTG"
  100. endchoice
  101. endif
  102. config BSP_USING_LVGL
  103. bool "Enable LVGL for LCD"
  104. select BSP_USING_PXP
  105. select BSP_USING_CACHE
  106. select BSP_USING_LCD
  107. select BSP_USING_TOUCHPAD
  108. select PKG_USING_LVGL
  109. default n
  110. if BSP_USING_LVGL
  111. config BSP_USING_LVGL_DEMO
  112. bool "Enable LVGL demo"
  113. select PKG_USING_LV_MUSIC_DEMO
  114. default y
  115. config BSP_USING_NXP_GUIGUIDER
  116. bool "Support NXP GUI Guider"
  117. select PKG_USING_GUI_GUIDER_DEMO
  118. default n
  119. endif
  120. menuconfig BSP_USING_FS
  121. bool "Enable File System"
  122. select RT_USING_DFS_DEVFS
  123. select RT_USING_DFS
  124. default n
  125. if BSP_USING_FS
  126. config BSP_USING_SDCARD_FATFS
  127. bool "Enable SDCARD (FATFS)"
  128. select BSP_USING_SDIO
  129. select RT_USING_DFS_ELMFAT
  130. default n
  131. endif
  132. endmenu
  133. menu "On-chip Peripheral Drivers"
  134. config BSP_USING_GPIO
  135. bool "Enable GPIO"
  136. select RT_USING_PIN
  137. default y
  138. config BSP_USING_RTC
  139. bool "Enable RTC"
  140. select RT_USING_RTC
  141. default n
  142. config BSP_USING_SDIO
  143. bool "Enable SDIO"
  144. select RT_USING_SDIO
  145. select RT_USING_DFS
  146. default n
  147. if BSP_USING_SDIO
  148. config CODE_STORED_ON_SDCARD
  149. bool "Enable Code STORED On SDCARD"
  150. default n
  151. help
  152. "SD CARD work as boot devive"
  153. endif
  154. config BSP_USING_USB
  155. bool "Enable USB"
  156. select RT_USING_USB_HOST
  157. default n
  158. if BSP_USING_USB
  159. config BSP_USB0_HOST
  160. bool "Enable USB0"
  161. default n
  162. config BSP_USB1_HOST
  163. bool "Enable USB1"
  164. default n
  165. endif
  166. menuconfig BSP_USING_I2C
  167. bool "Enable I2C"
  168. select RT_USING_I2C
  169. default y
  170. if BSP_USING_I2C
  171. config BSP_USING_I2C1
  172. bool
  173. default y
  174. choice
  175. prompt "Select I2C1 badurate"
  176. default HW_I2C1_BADURATE_100kHZ
  177. config HW_I2C1_BADURATE_100kHZ
  178. bool "Badurate 100kHZ"
  179. config HW_I2C1_BADURATE_400kHZ
  180. bool "Badurate 400kHZ"
  181. endchoice
  182. endif
  183. menuconfig BSP_USING_LPUART
  184. bool "Enable UART"
  185. select RT_USING_SERIAL
  186. default y
  187. if BSP_USING_LPUART
  188. config BSP_USING_LPUART1
  189. bool "Enable LPUART1"
  190. default y
  191. config BSP_USING_LPUART2
  192. bool "Enable LPUART2"
  193. default n
  194. config BSP_USING_LPUART3
  195. bool "Enable LPUART3"
  196. default n
  197. config BSP_USING_LPUART4
  198. bool "Enable LPUART4"
  199. default n
  200. config BSP_USING_LPUART5
  201. bool "Enable LPUART5"
  202. default n
  203. config BSP_USING_LPUART6
  204. bool "Enable LPUART6"
  205. default n
  206. config BSP_USING_LPUART7
  207. bool "Enable LPUART7"
  208. default n
  209. config BSP_USING_LPUART8
  210. bool "Enable LPUART8"
  211. default n
  212. endif
  213. config BSP_USING_PXP
  214. bool "Enable PXP"
  215. default n
  216. config BSP_USING_CACHE
  217. bool "Enable CACHE"
  218. default n
  219. endmenu
  220. menu "Board extended module Drivers"
  221. endmenu
  222. endmenu