Kconfig 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. select BSP_USING_SYSTIMER
  26. default n
  27. if BSP_USING_SYSTIMER
  28. config RT_USING_SYSTIMER1
  29. bool "Enable sys timer1"
  30. default n
  31. config RT_USING_SYSTIMER3
  32. bool "Enable sys timer3"
  33. default n
  34. endif
  35. menuconfig BSP_USING_I2C
  36. bool "Enable I2C"
  37. select RT_USING_I2C
  38. default n
  39. if BSP_USING_I2C
  40. config BSP_USING_I2C0
  41. bool "Enable I2C0"
  42. default n
  43. config BSP_USING_I2C1
  44. bool "Enable I2C1"
  45. default n
  46. endif
  47. menuconfig BSP_USING_SPI
  48. bool "Enable SPI"
  49. select RT_USING_SPI
  50. default n
  51. if BSP_USING_SPI
  52. config BSP_USING_SPI0_BUS
  53. bool "Enable SPI0 BUS"
  54. default n
  55. config BSP_USING_SPI0_DEVICE0
  56. bool "Enable SPI0 DEVICE0"
  57. select BSP_USING_SPI0_BUS
  58. default n
  59. config BSP_USING_SPI0_DEVICE1
  60. bool "Enable SPI0 DEVICE1"
  61. select BSP_USING_SPI0_BUS
  62. default n
  63. endif
  64. config BSP_USING_WDT
  65. bool "Enable WDT"
  66. select RT_USING_WDT
  67. default n
  68. menuconfig BSP_USING_RTC
  69. bool "Enable RTC"
  70. select RT_USING_RTC
  71. default n
  72. if BSP_USING_RTC
  73. config BSP_USING_ALARM
  74. bool "Enable Alarm"
  75. select RT_USING_ALARM
  76. default n
  77. endif
  78. menuconfig BSP_USING_SDIO
  79. bool "Enable SDIO"
  80. select RT_USING_SDIO
  81. default n
  82. if BSP_USING_SDIO
  83. config BSP_USING_SDIO0
  84. bool "Enable SDIO0"
  85. select RT_USING_SDIO
  86. default n
  87. endif
  88. endmenu
  89. menu "Board Peripheral Drivers"
  90. menuconfig BSP_USING_HDMI
  91. bool "Enable HDMI"
  92. default n
  93. if BSP_USING_HDMI
  94. config BSP_USING_HDMI_DISPLAY
  95. bool "HDMI DISPLAY"
  96. default n
  97. endif
  98. endmenu
  99. endmenu