Kconfig 891 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. menu "Hardware Drivers Config"
  2. config SOC_STM32F446ZE
  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_UART1
  21. bool "Enable UART1"
  22. default y
  23. config BSP_UART1_RX_USING_DMA
  24. bool "Enable UART1 RX DMA"
  25. depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
  26. default n
  27. endif
  28. source "../libraries/HAL_Drivers/Kconfig"
  29. endmenu
  30. menu "Board extended module Drivers"
  31. endmenu
  32. endmenu