Kconfig 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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. endif
  18. config BSP_USING_PIN
  19. bool "Using PIN"
  20. select RT_USING_PIN
  21. default y
  22. menuconfig BSP_USING_SYSTIMER
  23. bool "Enable SYSTIMER"
  24. select RT_USING_SYSTIMER
  25. default n
  26. if RT_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
  52. bool "Enable SPI0"
  53. default n
  54. config BSP_USING_SPI1
  55. bool "Enable SPI1"
  56. default n
  57. endif
  58. config BSP_USING_WDT
  59. bool "Enable WDT"
  60. select RT_USING_WDT
  61. default n
  62. menuconfig BSP_USING_RTC
  63. bool "Enable RTC"
  64. select RT_USING_RTC
  65. default n
  66. if BSP_USING_RTC
  67. config BSP_USING_ALARM
  68. bool "Enable Alarm"
  69. select RT_USING_ALARM
  70. default n
  71. endif
  72. menuconfig BSP_USING_SDIO
  73. bool "Enable SDIO"
  74. select RT_USING_SDIO
  75. default n
  76. if BSP_USING_SDIO
  77. config BSP_USING_SDIO0
  78. bool "Enable SDIO0"
  79. select RT_USING_SDIO
  80. default n
  81. endif
  82. endmenu
  83. menu "Board Peripheral Drivers"
  84. menuconfig BSP_USING_HDMI
  85. bool "Enable HDMI"
  86. select BSP_USING_SPI
  87. default n
  88. if BSP_USING_HDMI
  89. config BSP_USING_HDMI_DISPLAY
  90. bool "HDMI DISPLAY"
  91. default n
  92. endif
  93. endmenu
  94. endmenu