Kconfig 5.3 KB

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