Kconfig 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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_MIMXRT1064DVL6A
  9. bool
  10. select SOC_MIMXRT1064_SERIES
  11. select BSP_USING_4MFLASH
  12. select RT_USING_COMPONENTS_INIT
  13. select RT_USING_USER_MAIN
  14. default y
  15. menu "On-chip Peripheral Drivers"
  16. config BSP_USING_GPIO
  17. bool "Enable GPIO"
  18. select RT_USING_PIN
  19. default y
  20. menuconfig BSP_USING_LPUART
  21. bool "Enable UART"
  22. select RT_USING_SERIAL
  23. default y
  24. if BSP_USING_LPUART
  25. config BSP_USING_LPUART1
  26. bool "Enable LPUART1"
  27. default y
  28. config BSP_USING_LPUART2
  29. bool "Enable LPUART2"
  30. default n
  31. config BSP_USING_LPUART3
  32. bool "Enable LPUART3"
  33. default n
  34. config BSP_USING_LPUART4
  35. bool "Enable LPUART4"
  36. default n
  37. config BSP_USING_LPUART5
  38. bool "Enable LPUART5"
  39. default n
  40. config BSP_USING_LPUART6
  41. bool "Enable LPUART6"
  42. default n
  43. config BSP_USING_LPUART7
  44. bool "Enable LPUART7"
  45. default n
  46. config BSP_USING_LPUART8
  47. bool "Enable LPUART8"
  48. default n
  49. endif
  50. menuconfig BSP_USING_I2C
  51. bool "Enable I2C"
  52. select RT_USING_I2C
  53. default n
  54. if BSP_USING_I2C
  55. config BSP_USING_I2C1
  56. bool "Enable LPI2C1"
  57. default n
  58. config BSP_USING_I2C3
  59. bool "Enable LPI2C3"
  60. default n
  61. config BSP_USING_I2C4
  62. bool "Enable LPI2C4"
  63. default n
  64. endif
  65. menuconfig BSP_USING_LCD
  66. bool "Enable LCD"
  67. default n
  68. if BSP_USING_LCD
  69. config LCD_WIDTH
  70. int "width"
  71. default 480
  72. config LCD_HEIGHT
  73. int "height"
  74. default 272
  75. config LCD_HFP
  76. int "HFP"
  77. default 4
  78. config LCD_VFP
  79. int "VFP"
  80. default 4
  81. config LCD_HBP
  82. int "HBP"
  83. default 8
  84. config LCD_VBP
  85. int "VBP"
  86. default 2
  87. config LCD_HSW
  88. int "HSW"
  89. default 40
  90. config LCD_VSW
  91. int "VSW"
  92. default 10
  93. config LCD_BL_PIN
  94. int "Backlight ctrl pin"
  95. default 63
  96. config LCD_RST_PIN
  97. int "Reset pin"
  98. default 2
  99. endif
  100. endmenu
  101. menu "Onboard Peripheral Drivers"
  102. config BSP_USING_SDRAM
  103. bool "Enable SDRAM"
  104. default n
  105. menuconfig BSP_USING_ETH
  106. bool "Enable Ethernet"
  107. select RT_USING_NETDEV
  108. default n
  109. if BSP_USING_ETH
  110. config BSP_USING_PHY
  111. select RT_USING_PHY
  112. bool "Enable ethernet phy"
  113. default y
  114. if BSP_USING_PHY
  115. config PHY_DEVICE_ADDRESS
  116. int "Specify address of phy device"
  117. default 2
  118. config PHY_USING_KSZ8081
  119. bool "i.MX RT1064EVK uses ksz8081 phy"
  120. default y
  121. if PHY_USING_KSZ8081
  122. config PHY_RESET_PORT
  123. int "indicate port of reset"
  124. default 1
  125. config PHY_RESET_PIN
  126. int "indicate pin of reset"
  127. default 9
  128. config FSL_FEATURE_PHYKSZ8081_USE_RMII50M_MODE
  129. bool "Enable the PHY ksz8081 RMII50M mode"
  130. depends on PHY_USING_KSZ8081
  131. default y
  132. endif
  133. endif
  134. endif
  135. endmenu
  136. menu "Board extended module Drivers"
  137. endmenu
  138. endmenu