Kconfig 4.6 KB

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