Kconfig 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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. menuconfig BSP_USING_SYSTIMER
  20. bool "Enable SYSTIMER"
  21. select RT_USING_HWTIMER
  22. default n
  23. if BSP_USING_SYSTIMER
  24. config RT_USING_SYSTIMER1
  25. bool "Enable sys timer1"
  26. default n
  27. config RT_USING_SYSTIMER3
  28. bool "Enable sys timer3"
  29. default n
  30. endif
  31. menuconfig BSP_USING_I2C
  32. bool "Enable I2C"
  33. select RT_USING_I2C
  34. default n
  35. if BSP_USING_I2C
  36. config BSP_USING_I2C0
  37. bool "Enable I2C0"
  38. default n
  39. config BSP_USING_I2C1
  40. bool "Enable I2C1"
  41. default n
  42. endif
  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. config BSP_USING_WDT
  61. bool "Enable WDT"
  62. select RT_USING_WDT
  63. default n
  64. menuconfig BSP_USING_RTC
  65. bool "Enable RTC"
  66. select RT_USING_RTC
  67. default n
  68. if BSP_USING_RTC
  69. config BSP_USING_ALARM
  70. bool "Enable Alarm"
  71. select RT_USING_ALARM
  72. default n
  73. endif
  74. menuconfig BSP_USING_SDIO
  75. bool "Enable SDIO"
  76. select RT_USING_SDIO
  77. default n
  78. if BSP_USING_SDIO
  79. config BSP_USING_SDIO0
  80. bool "Enable SDIO0"
  81. select RT_USING_SDIO
  82. default n
  83. endif
  84. menuconfig BSP_USING_HDMI
  85. bool "Enable HDMI"
  86. select BSP_USING_SPI
  87. default n
  88. endmenu
  89. endmenu