Kconfig 3.0 KB

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