Kconfig 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  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_MIMXRT1062_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_LCD
  20. bool "Enable LCD"
  21. default n
  22. if BSP_USING_LCD
  23. config LCD_WIDTH
  24. int "width"
  25. default 480
  26. config LCD_HEIGHT
  27. int "height"
  28. default 272
  29. config LCD_HFP
  30. int "HFP"
  31. default 4
  32. config LCD_VFP
  33. int "VFP"
  34. default 4
  35. config LCD_HBP
  36. int "HBP"
  37. default 8
  38. config LCD_VBP
  39. int "VBP"
  40. default 2
  41. config LCD_HSW
  42. int "HSW"
  43. default 40
  44. config LCD_VSW
  45. int "VSW"
  46. default 10
  47. config LCD_BL_PIN
  48. int "Backlight ctrl pin"
  49. default 63
  50. config LCD_RST_PIN
  51. int "Reset pin"
  52. default 2
  53. endif
  54. menuconfig BSP_USING_TOUCHPAD
  55. bool "Enable TOUCHPAD"
  56. select BSP_USING_PXP
  57. select BSP_USING_CACHE
  58. select BSP_USING_I2C
  59. select BSP_USING_LCD
  60. default n
  61. if BSP_USING_TOUCHPAD
  62. choice
  63. prompt "Select panel"
  64. default DEMO_PANEL_RK043FN02H
  65. config DEMO_PANEL_RK043FN02H
  66. bool "RK043FN02H-CT"
  67. config DEMO_PANEL_RK043FN66HS
  68. bool "RK043FN66HS-CTG"
  69. endchoice
  70. endif
  71. config BSP_USING_LVGL
  72. bool "Enable LVGL for LCD"
  73. select BSP_USING_PXP
  74. select BSP_USING_CACHE
  75. select BSP_USING_LCD
  76. select BSP_USING_TOUCHPAD
  77. select PKG_USING_LVGL
  78. default n
  79. if BSP_USING_LVGL
  80. config BSP_USING_LVGL_DEMO
  81. bool "Enable LVGL demo"
  82. select PKG_USING_LV_MUSIC_DEMO
  83. default n
  84. config BSP_USING_LVGL_SQUARELINE
  85. bool "Support LVGL SuqareLine Studio"
  86. default n
  87. config BSP_USING_NXP_GUIGUIDER
  88. bool "Support NXP GUI Guider"
  89. select PKG_USING_GUI_GUIDER_DEMO
  90. default n
  91. endif
  92. endmenu
  93. menu "On-chip Peripheral Drivers"
  94. config BSP_USING_GPIO
  95. bool "Enable GPIO"
  96. select RT_USING_PIN
  97. default y
  98. menuconfig BSP_USING_I2C
  99. bool "Enable I2C"
  100. select RT_USING_I2C
  101. default y
  102. if BSP_USING_I2C
  103. config BSP_USING_I2C1
  104. bool
  105. default y
  106. choice
  107. prompt "Select I2C1 badurate"
  108. default HW_I2C1_BADURATE_100kHZ
  109. config HW_I2C1_BADURATE_100kHZ
  110. bool "Badurate 100kHZ"
  111. config HW_I2C1_BADURATE_400kHZ
  112. bool "Badurate 400kHZ"
  113. endchoice
  114. endif
  115. menuconfig BSP_USING_LPUART
  116. bool "Enable UART"
  117. select RT_USING_SERIAL
  118. default y
  119. if BSP_USING_LPUART
  120. config BSP_USING_LPUART1
  121. bool "Enable LPUART1"
  122. default y
  123. config BSP_USING_LPUART2
  124. bool "Enable LPUART2"
  125. default n
  126. config BSP_USING_LPUART3
  127. bool "Enable LPUART3"
  128. default n
  129. config BSP_USING_LPUART4
  130. bool "Enable LPUART4"
  131. default n
  132. config BSP_USING_LPUART5
  133. bool "Enable LPUART5"
  134. default n
  135. config BSP_USING_LPUART6
  136. bool "Enable LPUART6"
  137. default n
  138. config BSP_USING_LPUART7
  139. bool "Enable LPUART7"
  140. default n
  141. config BSP_USING_LPUART8
  142. bool "Enable LPUART8"
  143. default n
  144. endif
  145. config BSP_USING_PXP
  146. bool "Enable PXP"
  147. default n
  148. config BSP_USING_CACHE
  149. bool "Enable CACHE"
  150. default n
  151. endmenu
  152. menu "Board extended module Drivers"
  153. endmenu
  154. endmenu