Kconfig 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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. default n
  91. if BSP_USING_SYSTIMER
  92. config RT_USING_SYSTIMER1
  93. bool "Enable sys timer1"
  94. default n
  95. config RT_USING_SYSTIMER3
  96. bool "Enable sys timer3"
  97. default n
  98. endif
  99. config BSP_USING_WDT
  100. bool "Enable WDT"
  101. select RT_USING_WDT
  102. default n
  103. config BSP_USING_ETH
  104. bool "Enable ETH"
  105. default n
  106. config BSP_USING_BULETOOTH
  107. bool "Enable BULETOOTH"
  108. default n
  109. menuconfig BSP_USING_RTC
  110. bool "Enable RTC"
  111. select RT_USING_RTC
  112. default n
  113. if BSP_USING_RTC
  114. config BSP_USING_ALARM
  115. bool "Enable Alarm"
  116. select RT_USING_ALARM
  117. default n
  118. endif
  119. menuconfig BSP_USING_SDIO
  120. bool "Enable SDIO"
  121. select RT_USING_SDIO
  122. default n
  123. if BSP_USING_SDIO
  124. config BSP_USING_SDIO0
  125. bool "Enable SDIO0"
  126. select RT_USING_SDIO
  127. default n
  128. endif
  129. endmenu
  130. menu "Board Peripheral Drivers"
  131. menuconfig BSP_USING_LCD
  132. bool "Enable LCD"
  133. default n
  134. if BSP_USING_LCD
  135. config BSP_USING_HDMI_DISPLAY
  136. bool "HDMI DISPLAY"
  137. default n
  138. config BSP_USING_DSI_DISPLAY
  139. bool "DSI DISPLAY"
  140. default n
  141. config BSP_USING_ILI9486
  142. bool "ILI9486 DISPLAY"
  143. default n
  144. endif
  145. menuconfig BSP_USING_TOUCH
  146. bool "Enable Touch"
  147. default n
  148. if BSP_USING_TOUCH
  149. config BSP_USING_DSI_TOUCH_DEV
  150. bool "DSI TOUCH"
  151. default n
  152. config BSP_USING_XPT_TOUCH_DEV
  153. bool "XPT TOUCH"
  154. default n
  155. endif
  156. config USING_LCD_CONSOLE
  157. bool "LCD CONSOLE"
  158. default n
  159. endmenu
  160. endmenu