Kconfig 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. menu "Hardware Drivers Config"
  2. menu "BCM Peripheral Drivers"
  3. menuconfig BSP_USING_UART
  4. bool "Using UART"
  5. select RT_USING_SERIAL
  6. default y
  7. if BSP_USING_UART
  8. config RT_USING_UART0
  9. bool "Enabel UART 0"
  10. default y
  11. config RT_USING_UART1
  12. bool "Enabel UART 1"
  13. default n
  14. endif
  15. config BSP_USING_PIN
  16. bool "Using PIN"
  17. select RT_USING_PIN
  18. default y
  19. config BSP_USING_CORETIMER
  20. bool "Using core timer"
  21. select RT_USING_CORETIMER
  22. default y
  23. menuconfig BSP_USING_SYSTIMER
  24. bool "Enable SYSTIMER"
  25. default n
  26. if BSP_USING_SYSTIMER
  27. config RT_USING_SYSTIMER1
  28. bool "Enable sys timer1"
  29. default n
  30. config RT_USING_SYSTIMER3
  31. bool "Enable sys timer3"
  32. default n
  33. endif
  34. menuconfig BSP_USING_I2C
  35. bool "Enable I2C"
  36. select RT_USING_I2C
  37. default n
  38. if BSP_USING_I2C
  39. config BSP_USING_I2C0
  40. bool "Enable I2C0"
  41. default n
  42. config BSP_USING_I2C1
  43. bool "Enable I2C1"
  44. default n
  45. endif
  46. menuconfig BSP_USING_SPI
  47. bool "Enable SPI"
  48. select RT_USING_SPI
  49. default n
  50. if BSP_USING_SPI
  51. config BSP_USING_SPI0_BUS
  52. bool "Enable SPI0 BUS"
  53. default n
  54. config BSP_USING_SPI0_DEVICE0
  55. bool "Enable SPI0 DEVICE0"
  56. select BSP_USING_SPI0_BUS
  57. default n
  58. config BSP_USING_SPI0_DEVICE1
  59. bool "Enable SPI0 DEVICE1"
  60. select BSP_USING_SPI0_BUS
  61. default n
  62. endif
  63. config BSP_USING_WDT
  64. bool "Enable WDT"
  65. select RT_USING_WDT
  66. default n
  67. menuconfig BSP_USING_RTC
  68. bool "Enable RTC"
  69. select RT_USING_RTC
  70. default n
  71. if BSP_USING_RTC
  72. config BSP_USING_ALARM
  73. bool "Enable Alarm"
  74. select RT_USING_ALARM
  75. default n
  76. endif
  77. menuconfig BSP_USING_SDIO
  78. bool "Enable SDIO"
  79. select RT_USING_SDIO
  80. default n
  81. if BSP_USING_SDIO
  82. config BSP_USING_SDIO0
  83. bool "Enable SDIO0"
  84. select RT_USING_SDIO
  85. default n
  86. endif
  87. endmenu
  88. menu "Board Peripheral Drivers"
  89. menuconfig BSP_USING_HDMI
  90. bool "Enable HDMI"
  91. default n
  92. if BSP_USING_HDMI
  93. config BSP_USING_HDMI_DISPLAY
  94. bool "HDMI DISPLAY"
  95. default n
  96. endif
  97. endmenu
  98. endmenu