Kconfig 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. menu "Drivers Configuration"
  2. menuconfig BSP_USING_SPI
  3. bool "Enable SPI"
  4. select RT_USING_SPI
  5. select RT_USING_QSPI
  6. default n
  7. if BSP_USING_SPI
  8. config BSP_USING_SPI0
  9. bool "Enable SPI0"
  10. help
  11. Support 1, 2, 4 and 8 lines, Max clock frequency is 200 Mhz.
  12. default n
  13. config BSP_USING_SPI1
  14. bool "Enable SPI1"
  15. help
  16. Support 1, 2, and 4 lines, Max clock frequency is 100 Mhz.
  17. default n
  18. config BSP_USING_SPI2
  19. bool "Enable SPI2"
  20. help
  21. Support 1, 2, and 4 lines, Max clock frequency is 100 Mhz.
  22. default n
  23. endif
  24. menuconfig BSP_USING_I2C
  25. bool "Enable I2C"
  26. select RT_USING_I2C
  27. default n
  28. if BSP_USING_I2C
  29. config BSP_USING_I2C0
  30. bool "Enable I2C0"
  31. default n
  32. config BSP_USING_I2C1
  33. bool "Enable I2C1"
  34. default n
  35. config BSP_USING_I2C2
  36. bool "Enable I2C2"
  37. default n
  38. config BSP_USING_I2C3
  39. bool "Enable I2C3"
  40. default n
  41. config BSP_USING_I2C4
  42. bool "Enable I2C4"
  43. default n
  44. endif
  45. config BSP_USING_RTC
  46. bool "Enable RTC"
  47. select RT_USING_RTC
  48. default n
  49. config BSP_USING_ADC
  50. bool "Enable ADC"
  51. select RT_USING_ADC
  52. default n
  53. config BSP_USING_TS
  54. bool "Enable Temperature Sensor"
  55. select RT_USING_TS
  56. default n
  57. menuconfig BSP_USING_UART
  58. bool "Enable UART"
  59. select RT_USING_UART
  60. default y
  61. if BSP_USING_UART
  62. config BSP_UART_USING_DMA
  63. bool "Enable UART with DMA"
  64. default y
  65. config BSP_USING_UART0
  66. bool "Enable UART0"
  67. default y
  68. config BSP_USING_UART1
  69. bool "Enable UART1"
  70. default n
  71. config BSP_USING_UART2
  72. bool "Enable UART2"
  73. default n
  74. config BSP_USING_UART3
  75. bool "Enable UART3"
  76. default n
  77. config BSP_USING_UART4
  78. bool "Enable UART4"
  79. default n
  80. endif
  81. menuconfig BSP_USING_PWM
  82. bool "Enable PWM"
  83. select RT_USING_PWM
  84. default n
  85. if BSP_USING_PWM
  86. config BSP_USING_PWM0
  87. bool "Enable PWM0"
  88. default n
  89. config BSP_USING_PWM1
  90. bool "Enable PWM1"
  91. default n
  92. endif
  93. config BSP_USING_HARDLOCK
  94. bool "Enable Hard-Lock"
  95. default y
  96. menuconfig BSP_USING_SDIO
  97. bool "Enable SDIO"
  98. select RT_USING_SDIO
  99. default y
  100. if BSP_USING_SDIO
  101. choice BSP_SDIO_DEV
  102. prompt "Select SDIO device"
  103. default BSP_USING_SDIO0
  104. help
  105. Select the SDIO device to be used.
  106. config BSP_USING_SDIO0
  107. bool "Enable SDIO0"
  108. if BSP_USING_SDIO0
  109. config BSP_SDIO0_EMMC
  110. bool "Enable eMMC"
  111. default n
  112. config BSP_SDIO0_1V8
  113. bool "Enable 1.8V"
  114. default n
  115. endif
  116. config BSP_USING_SDIO1
  117. bool "Enable SDIO1"
  118. endchoice
  119. config BSP_SD_MNT_DEVNAME
  120. string "The name of the SD-BlkDev to be mounted"
  121. default "sd0p1"
  122. endif
  123. menuconfig BSP_USING_TIMERS
  124. bool "Enable Hardware Timers"
  125. select RT_USING_HWTIMER
  126. default n
  127. if BSP_USING_TIMERS
  128. config BSP_USING_TIMER0
  129. bool "Enable Timer0"
  130. default n
  131. config BSP_USING_TIMER1
  132. bool "Enable Timer1"
  133. default n
  134. config BSP_USING_TIMER2
  135. bool "Enable Timer2"
  136. default n
  137. config BSP_USING_TIMER3
  138. bool "Enable Timer3"
  139. default n
  140. config BSP_USING_TIMER4
  141. bool "Enable Timer4"
  142. default n
  143. config BSP_USING_TIMER5
  144. bool "Enable Timer5"
  145. default n
  146. endif
  147. menuconfig BSP_USING_WDT
  148. bool "Enable Watchdog Timer"
  149. select RT_USING_WDT
  150. default n
  151. if BSP_USING_WDT
  152. config BSP_USING_WDT0
  153. bool "Enable WDT0"
  154. default n
  155. config BSP_USING_WDT1
  156. bool "Enable WDT1"
  157. default n
  158. endif
  159. menuconfig BSP_USING_PDMA
  160. bool "Enable PDMA"
  161. select RT_USING_PDMA
  162. default n
  163. if BSP_USING_PDMA
  164. config BSP_USING_PDMA_CHANNEL0
  165. bool "Enable PDMA Channel 0"
  166. default n
  167. config BSP_USING_PDMA_CHANNEL1
  168. bool "Enable PDMA Channel 1"
  169. default n
  170. config BSP_USING_PDMA_CHANNEL2
  171. bool "Enable PDMA Channel 2"
  172. default n
  173. config BSP_USING_PDMA_CHANNEL3
  174. bool "Enable PDMA Channel 3"
  175. default n
  176. config BSP_USING_PDMA_CHANNEL4
  177. bool "Enable PDMA Channel 4"
  178. default n
  179. config BSP_USING_PDMA_CHANNEL5
  180. bool "Enable PDMA Channel 5"
  181. default n
  182. config BSP_USING_PDMA_CHANNEL6
  183. bool "Enable PDMA Channel 6"
  184. default n
  185. config BSP_USING_PDMA_CHANNEL7
  186. bool "Enable PDMA Channel 7"
  187. default n
  188. endif
  189. config BSP_UTEST_DRIVERS
  190. bool "Enable drivers utest"
  191. select RT_USING_UTEST
  192. default n
  193. endmenu