Kconfig 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. endif
  33. menuconfig BSP_USING_CAN
  34. bool "Enable CAN"
  35. default n
  36. select RT_USING_CAN
  37. if BSP_USING_CAN
  38. config BSP_USING_CAN1
  39. bool "using CAN1"
  40. default n
  41. config BSP_USING_CAN2
  42. bool "using CAN2"
  43. default n
  44. endif
  45. source "../libraries/HAL_Drivers/Kconfig"
  46. endmenu
  47. menu "Board extended module Drivers"
  48. endmenu
  49. endmenu