Kconfig 6.1 KB

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