Kconfig 662 B

12345678910111213141516171819202122232425262728293031323334353637
  1. menu "Hardware Drivers Config"
  2. config SOC_STM32F302R8
  3. bool
  4. select SOC_SERIES_STM32F3
  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_UART2
  21. bool "Enable UART2"
  22. default y
  23. endif
  24. endmenu
  25. menu "Board extended module Drivers"
  26. endmenu
  27. endmenu