Kconfig 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. menu "Hardware Drivers Config"
  2. config SOC_STM32F427II
  3. bool
  4. select SOC_SERIES_STM32F4
  5. select RT_USING_COMPONENTS_INIT
  6. select RT_USING_USER_MAIN
  7. default y
  8. menu "Onboard Peripheral Drivers"
  9. endmenu
  10. menu "On-chip Peripheral Drivers"
  11. config BSP_USING_GPIO
  12. bool "Enable GPIO"
  13. select RT_USING_PIN
  14. default y
  15. menuconfig BSP_USING_UART
  16. bool "Enable UART"
  17. default y
  18. select RT_USING_SERIAL
  19. if BSP_USING_UART
  20. config BSP_USING_UART6
  21. bool "Enable UART6 (debug usart)"
  22. default y
  23. config BSP_UART6_RX_USING_DMA
  24. bool "Enable UART6 RX DMA"
  25. depends on BSP_USING_UART6 && RT_SERIAL_USING_DMA
  26. default n
  27. config BSP_USING_UART3
  28. bool "Enable UART3"
  29. default n
  30. config BSP_UART3_RX_USING_DMA
  31. bool "Enable UART3 RX DMA"
  32. depends on BSP_USING_UART3 && RT_SERIAL_USING_DMA
  33. default n
  34. config BSP_USING_UART7
  35. bool "Enable UART7"
  36. default n
  37. config BSP_UART7_RX_USING_DMA
  38. bool "Enable UART7 RX DMA"
  39. depends on BSP_USING_UART7 && RT_SERIAL_USING_DMA
  40. default n
  41. config BSP_USING_UART8
  42. bool "Enable UART8"
  43. default n
  44. config BSP_UART8_RX_USING_DMA
  45. bool "Enable UART8 RX DMA"
  46. depends on BSP_USING_UART8 && RT_SERIAL_USING_DMA
  47. default n
  48. config BSP_USING_UART1
  49. bool "Enable UART1 (DBUS)"
  50. default n
  51. config BSP_UART1_RX_USING_DMA
  52. bool "Enable UART1 RX DMA"
  53. depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
  54. default n
  55. endif
  56. menuconfig BSP_USING_PWM
  57. bool "Enable pwm"
  58. default n
  59. select RT_USING_PWM
  60. if BSP_USING_PWM
  61. menuconfig BSP_USING_PWM12
  62. bool "Enable timer12 output pwm"
  63. default n
  64. if BSP_USING_PWM12
  65. config BSP_USING_PWM12_CH1
  66. bool "Enable PWM12 channel1(buzzer) "
  67. default n
  68. endif
  69. menuconfig BSP_USING_PWM4
  70. bool "Enable timer4 output pwm"
  71. default n
  72. if BSP_USING_PWM4
  73. config BSP_USING_PWM4_CH1
  74. bool "Enable PWM4 channel1"
  75. default n
  76. config BSP_USING_PWM4_CH2
  77. bool "Enable PWM4 channel2"
  78. default n
  79. config BSP_USING_PWM4_CH3
  80. bool "Enable PWM4 channel3"
  81. default n
  82. config BSP_USING_PWM4_CH4
  83. bool "Enable PWM4 channel4"
  84. default n
  85. endif
  86. menuconfig BSP_USING_PWM5
  87. bool "Enable timer5 output pwm"
  88. default n
  89. if BSP_USING_PWM5
  90. config BSP_USING_PWM5_CH1
  91. bool "Enable PWM5 channel1"
  92. default n
  93. config BSP_USING_PWM5_CH2
  94. bool "Enable PWM5 channel2"
  95. default n
  96. config BSP_USING_PWM5_CH3
  97. bool "Enable PWM5 channel3"
  98. default n
  99. config BSP_USING_PWM5_CH4
  100. bool "Enable PWM5 channel4"
  101. default n
  102. endif
  103. endif
  104. source "../libraries/HAL_Drivers/Kconfig"
  105. endmenu
  106. menu "Board extended module Drivers"
  107. endmenu
  108. endmenu