Kconfig 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. config BSP_SUPPORT_FPU
  2. bool "Using Float"
  3. default n
  4. menu "Hardware Drivers Config"
  5. menu "BCM Peripheral Drivers"
  6. menuconfig BSP_USING_UART
  7. bool "Using UART"
  8. select RT_USING_SERIAL
  9. default y
  10. if BSP_USING_UART
  11. config RT_USING_UART0
  12. bool "Enabel UART 0"
  13. default y
  14. config RT_USING_UART1
  15. bool "Enabel UART 1"
  16. default n
  17. config RT_USING_UART3
  18. bool "Enabel UART 3"
  19. default n
  20. config RT_USING_UART4
  21. bool "Enabel UART 4"
  22. default n
  23. config RT_USING_UART5
  24. bool "Enabel UART 5"
  25. default n
  26. endif
  27. menuconfig BSP_USING_GIC
  28. bool "Enable GIC"
  29. select RT_USING_GIC
  30. default y
  31. if BSP_USING_GIC
  32. config BSP_USING_GIC400
  33. bool "Enable GIC400"
  34. default y
  35. config BSP_USING_GIC500
  36. bool "Enable GIC500"
  37. default n
  38. endif
  39. config BSP_USING_PIN
  40. bool "Using PIN"
  41. select RT_USING_PIN
  42. default y
  43. menuconfig BSP_USING_SPI
  44. bool "Enable SPI"
  45. select RT_USING_SPI
  46. default n
  47. if BSP_USING_SPI
  48. config BSP_USING_SPI0_BUS
  49. bool "Enable SPI0 BUS"
  50. default n
  51. config BSP_USING_SPI0_DEVICE0
  52. bool "Enable SPI0 DEVICE0"
  53. select BSP_USING_SPI0_BUS
  54. default n
  55. config BSP_USING_SPI0_DEVICE1
  56. bool "Enable SPI0 DEVICE1"
  57. select BSP_USING_SPI0_BUS
  58. default n
  59. endif
  60. menuconfig BSP_USING_I2C
  61. bool "Enable I2C"
  62. select RT_USING_I2C
  63. default n
  64. if BSP_USING_I2C
  65. config BSP_USING_I2C0
  66. bool "Enable I2C0 BUS"
  67. default n
  68. config BSP_USING_I2C1
  69. bool "Enable I2C1 BUS"
  70. default n
  71. config BSP_USING_I2C3
  72. bool "Enable I2C3 BUS"
  73. default n
  74. config BSP_USING_I2C4
  75. bool "Enable I2C4 BUS"
  76. default n
  77. config BSP_USING_I2C5
  78. bool "Enable I2C5 BUS"
  79. default n
  80. config BSP_USING_I2C6
  81. bool "Enable I2C6 BUS"
  82. default n
  83. endif
  84. config BSP_USING_CORETIMER
  85. bool "Using core timer"
  86. select RT_USING_CORETIMER
  87. default y
  88. menuconfig BSP_USING_SYSTIMER
  89. bool "Enable SYSTIMER"
  90. select BSP_USING_SYSTIMER
  91. default n
  92. if BSP_USING_SYSTIMER
  93. config RT_USING_SYSTIMER1
  94. bool "Enable sys timer1"
  95. default n
  96. config RT_USING_SYSTIMER3
  97. bool "Enable sys timer3"
  98. default n
  99. endif
  100. config BSP_USING_WDT
  101. bool "Enable WDT"
  102. select RT_USING_WDT
  103. default n
  104. config BSP_USING_ETH
  105. bool "Enable ETH"
  106. default n
  107. config BSP_USING_BULETOOTH
  108. bool "Enable BULETOOTH"
  109. default n
  110. menuconfig BSP_USING_RTC
  111. bool "Enable RTC"
  112. select RT_USING_RTC
  113. default n
  114. if BSP_USING_RTC
  115. config BSP_USING_ALARM
  116. bool "Enable Alarm"
  117. select RT_USING_ALARM
  118. default n
  119. endif
  120. menuconfig BSP_USING_SDIO
  121. bool "Enable SDIO"
  122. select RT_USING_SDIO
  123. default n
  124. if BSP_USING_SDIO
  125. config BSP_USING_SDIO0
  126. bool "Enable SDIO0"
  127. select RT_USING_SDIO
  128. default n
  129. endif
  130. endmenu
  131. menu "Board Peripheral Drivers"
  132. menuconfig BSP_USING_LCD
  133. bool "Enable LCD"
  134. default n
  135. if BSP_USING_LCD
  136. config BSP_USING_HDMI_DISPLAY
  137. bool "HDMI DISPLAY"
  138. default n
  139. config BSP_USING_DSI_DISPLAY
  140. bool "DSI DISPLAY"
  141. default n
  142. config BSP_USING_ILI9486
  143. bool "ILI9486 DISPLAY"
  144. default n
  145. endif
  146. menuconfig BSP_USING_TOUCH
  147. bool "Enable Touch"
  148. default n
  149. if BSP_USING_TOUCH
  150. config BSP_USING_DSI_TOUCH_DEV
  151. bool "DSI TOUCH"
  152. default n
  153. config BSP_USING_XPT_TOUCH_DEV
  154. bool "XPT TOUCH"
  155. default n
  156. endif
  157. config USING_LCD_CONSOLE
  158. bool "LCD CONSOLE"
  159. default n
  160. endmenu
  161. endmenu