Kconfig 6.2 KB

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