Kconfig 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. menu "Hardware Drivers Config"
  2. config BSP_USING_QSPIFLASH
  3. bool
  4. default n
  5. config SOC_MIMXRT1176DVMAA
  6. bool
  7. select SOC_MIMXRT1170_SERIES
  8. select BSP_USING_QSPIFLASH
  9. select RT_USING_COMPONENTS_INIT
  10. select RT_USING_USER_MAIN
  11. default y
  12. menu "On-chip Peripheral Drivers"
  13. config BSP_USING_DMA
  14. bool "Enable DMA"
  15. default n
  16. config BSP_USING_GPIO
  17. bool "Enable GPIO"
  18. select RT_USING_PIN
  19. default y
  20. config BSP_USING_RTC
  21. bool "Enable RTC"
  22. select RT_USING_RTC
  23. default n
  24. config BSP_USING_SDIO
  25. bool "Enable SDIO"
  26. select RT_USING_SDIO
  27. select RT_USING_DFS
  28. default n
  29. menuconfig BSP_USING_LPUART
  30. bool "Enable UART"
  31. select RT_USING_SERIAL
  32. default y
  33. if BSP_USING_LPUART
  34. config BSP_USING_LPUART1
  35. bool "Enable LPUART1"
  36. default y
  37. config BSP_LPUART1_RX_USING_DMA
  38. bool "Enable LPUART1 RX DMA"
  39. depends on BSP_USING_LPUART1
  40. select BSP_USING_DMA
  41. select RT_SERIAL_USING_DMA
  42. default n
  43. config BSP_LPUART1_RX_DMA_CHANNEL
  44. depends on BSP_LPUART1_RX_USING_DMA
  45. int "Set LPUART1 RX DMA channel (0-32)"
  46. default 0
  47. config BSP_LPUART1_TX_USING_DMA
  48. bool "Enable LPUART1 TX DMA"
  49. depends on BSP_USING_LPUART1
  50. select BSP_USING_DMA
  51. select RT_SERIAL_USING_DMA
  52. default n
  53. config BSP_LPUART1_TX_DMA_CHANNEL
  54. depends on BSP_LPUART1_TX_USING_DMA
  55. int "Set LPUART1 TX DMA channel (0-32)"
  56. default 1
  57. config BSP_USING_LPUART3
  58. bool "Enable LPUART3"
  59. default n
  60. config BSP_LPUART3_RX_USING_DMA
  61. bool "Enable LPUART3 RX DMA"
  62. depends on BSP_USING_LPUART3
  63. select BSP_USING_DMA
  64. select RT_SERIAL_USING_DMA
  65. default n
  66. config BSP_LPUART3_RX_DMA_CHANNEL
  67. depends on BSP_LPUART3_RX_USING_DMA
  68. int "Set LPUART3 RX DMA channel (0-32)"
  69. default 0
  70. config BSP_LPUART3_TX_USING_DMA
  71. bool "Enable LPUART3 TX DMA"
  72. depends on BSP_USING_LPUART3
  73. select BSP_USING_DMA
  74. select RT_SERIAL_USING_DMA
  75. default n
  76. config BSP_LPUART3_TX_DMA_CHANNEL
  77. depends on BSP_LPUART3_TX_USING_DMA
  78. int "Set LPUART3 TX DMA channel (0-32)"
  79. default 1
  80. endif
  81. menuconfig BSP_USING_CAN
  82. bool "Enable CAN"
  83. select RT_USING_CAN
  84. default n
  85. if BSP_USING_CAN
  86. config BSP_USING_CAN3
  87. bool "Enable FLEXCAN3"
  88. default n
  89. endif
  90. menuconfig BSP_USING_FLEXSPI
  91. bool "Enable FLEXSPI"
  92. default n
  93. if BSP_USING_FLEXSPI
  94. config BSP_USING_FLEXSPI1
  95. bool "Enable FLEXCAN1"
  96. default n
  97. config BSP_USING_FLEXSPI2
  98. bool "Enable FLEXCAN2"
  99. default n
  100. endif
  101. endmenu
  102. menu "Onboard Peripheral Drivers"
  103. config BSP_USING_SDRAM
  104. bool "Enable SDRAM"
  105. default n
  106. menuconfig BSP_USING_ETH
  107. bool "Enable Ethernet"
  108. select RT_USING_NETDEV
  109. select RT_USING_LWIP
  110. default n
  111. if BSP_USING_ETH
  112. config BSP_USING_PHY
  113. select RT_USING_PHY
  114. bool "Enable ethernet phy"
  115. default y
  116. if BSP_USING_PHY
  117. config PHY_USING_KSZ8081
  118. bool "i.MX RT1176EVK uses ksz8081 phy"
  119. default y
  120. if PHY_USING_KSZ8081
  121. config PHY_KSZ8081_ADDRESS
  122. int "Specify address of phy device"
  123. default 2
  124. config PHY_RESET_KSZ8081_PORT
  125. int "indicate port of reset"
  126. default 6
  127. config PHY_RESET_KSZ8081_PIN
  128. int "indicate pin of reset"
  129. default 12
  130. config FSL_FEATURE_PHYKSZ8081_USE_RMII50M_MODE
  131. bool "Enable the PHY ksz8081 RMII50M mode"
  132. depends on PHY_USING_KSZ8081
  133. default y
  134. endif
  135. endif
  136. if BSP_USING_PHY
  137. config PHY_USING_RTL8211F
  138. bool "i.MX RT1176EVK uses rtl8211f phy"
  139. default y
  140. if PHY_USING_RTL8211F
  141. config PHY_RTL8211F_ADDRESS
  142. int "Specify address of phy device"
  143. default 1
  144. config PHY_RESET_RTL8211F_PORT
  145. int "indicate port of reset"
  146. default 5
  147. config PHY_RESET_RTL8211F_PIN
  148. int "indicate pin of reset"
  149. default 14
  150. endif
  151. endif
  152. endif
  153. menuconfig BSP_USING_FS
  154. bool "Enable File System"
  155. select RT_USING_DFS_DEVFS
  156. select RT_USING_DFS
  157. default n
  158. if BSP_USING_FS
  159. config BSP_USING_SDCARD_FATFS
  160. bool "Enable SDCARD (FATFS)"
  161. select BSP_USING_SDIO
  162. select RT_USING_DFS_ELMFAT
  163. default n
  164. endif
  165. endmenu
  166. menu "Board extended module Drivers"
  167. endmenu
  168. endmenu