Kconfig 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. menu "Hardware Drivers Config"
  2. config SOC_SERIES_FT32F0
  3. bool
  4. default y
  5. config SOC_FT32F072RB
  6. bool
  7. select SOC_SERIES_FT32F0
  8. select RT_USING_COMPONENTS_INIT
  9. select RT_USING_USER_MAIN
  10. default y
  11. menu "Onboard Peripheral Drivers"
  12. endmenu
  13. menu "On-chip Peripheral Drivers"
  14. config BSP_USING_GPIO
  15. bool "Enable GPIO"
  16. select RT_USING_PIN
  17. default y
  18. menuconfig BSP_USING_UART
  19. bool "Enable UART"
  20. default y
  21. if BSP_USING_UART
  22. choice
  23. prompt "Select UART framework version"
  24. default BSP_USING_SERIAL_V1
  25. config BSP_USING_SERIAL_V1
  26. bool "Use Serial V1 framework"
  27. select RT_USING_SERIAL
  28. config BSP_USING_SERIAL_V2
  29. bool "Use Serial V2 framework"
  30. select RT_USING_SERIAL_V2
  31. endchoice
  32. menuconfig BSP_USING_UART1
  33. bool "Enable UART1"
  34. default n
  35. menuconfig BSP_USING_UART2
  36. bool "Enable UART2"
  37. default y
  38. endif
  39. source "$(BSP_DIR)/../libraries/Drivers/Kconfig"
  40. endmenu
  41. menu "Board extended module Drivers"
  42. endmenu
  43. endmenu