Kconfig 3.7 KB

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