Kconfig 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  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. 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_LPUART1_RX_USING_DMA
  29. bool "Enable LPUART1 RX DMA"
  30. depends on BSP_USING_LPUART1
  31. select BSP_USING_DMA
  32. select RT_SERIAL_USING_DMA
  33. default n
  34. config BSP_LPUART1_RX_DMA_CHANNEL
  35. depends on BSP_LPUART1_RX_USING_DMA
  36. int "Set LPUART1 RX DMA channel (0-32)"
  37. default 0
  38. config BSP_LPUART1_TX_USING_DMA
  39. bool "Enable LPUART1 TX DMA"
  40. depends on BSP_USING_LPUART1
  41. select BSP_USING_DMA
  42. select RT_SERIAL_USING_DMA
  43. default n
  44. config BSP_LPUART1_TX_DMA_CHANNEL
  45. depends on BSP_LPUART1_TX_USING_DMA
  46. int "Set LPUART1 TX DMA channel (0-32)"
  47. default 1
  48. config BSP_USING_LPUART3
  49. bool "Enable LPUART3"
  50. default n
  51. config BSP_LPUART3_RX_USING_DMA
  52. bool "Enable LPUART3 RX DMA"
  53. depends on BSP_USING_LPUART3
  54. select BSP_USING_DMA
  55. select RT_SERIAL_USING_DMA
  56. default n
  57. config BSP_LPUART3_RX_DMA_CHANNEL
  58. depends on BSP_LPUART3_RX_USING_DMA
  59. int "Set LPUART3 RX DMA channel (0-32)"
  60. default 0
  61. config BSP_LPUART3_TX_USING_DMA
  62. bool "Enable LPUART3 TX DMA"
  63. depends on BSP_USING_LPUART3
  64. select BSP_USING_DMA
  65. select RT_SERIAL_USING_DMA
  66. default n
  67. config BSP_LPUART3_TX_DMA_CHANNEL
  68. depends on BSP_LPUART3_TX_USING_DMA
  69. int "Set LPUART3 TX DMA channel (0-32)"
  70. default 1
  71. endif
  72. menuconfig BSP_USING_CAN
  73. bool "Enable CAN"
  74. select RT_USING_CAN
  75. default n
  76. if BSP_USING_CAN
  77. config BSP_USING_CAN3
  78. bool "Enable FLEXCAN3"
  79. default n
  80. endif
  81. endmenu
  82. menu "Onboard Peripheral Drivers"
  83. config BSP_USING_SDRAM
  84. bool "Enable SDRAM"
  85. default n
  86. menuconfig BSP_USING_ETH
  87. bool "Enable Ethernet"
  88. select RT_USING_NETDEV
  89. select RT_USING_LWIP
  90. default n
  91. if BSP_USING_ETH
  92. config BSP_USING_PHY
  93. select RT_USING_PHY
  94. bool "Enable ethernet phy"
  95. default y
  96. if BSP_USING_PHY
  97. config PHY_USING_KSZ8081
  98. bool "i.MX RT1176EVK uses ksz8081 phy"
  99. default y
  100. if PHY_USING_KSZ8081
  101. config PHY_KSZ8081_ADDRESS
  102. int "Specify address of phy device"
  103. default 2
  104. config PHY_RESET_KSZ8081_PORT
  105. int "indicate port of reset"
  106. default 6
  107. config PHY_RESET_KSZ8081_PIN
  108. int "indicate pin of reset"
  109. default 12
  110. config FSL_FEATURE_PHYKSZ8081_USE_RMII50M_MODE
  111. bool "Enable the PHY ksz8081 RMII50M mode"
  112. depends on PHY_USING_KSZ8081
  113. default y
  114. endif
  115. endif
  116. if BSP_USING_PHY
  117. config PHY_USING_RTL8211F
  118. bool "i.MX RT1176EVK uses rtl8211f phy"
  119. default y
  120. if PHY_USING_RTL8211F
  121. config PHY_RTL8211F_ADDRESS
  122. int "Specify address of phy device"
  123. default 1
  124. config PHY_RESET_RTL8211F_PORT
  125. int "indicate port of reset"
  126. default 5
  127. config PHY_RESET_RTL8211F_PIN
  128. int "indicate pin of reset"
  129. default 14
  130. endif
  131. endif
  132. endif
  133. endmenu
  134. menu "Board extended module Drivers"
  135. endmenu
  136. endmenu