Kconfig 911 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. menu "Hardware Drivers Config"
  2. config MCU_HC32F460
  3. bool
  4. select ARCH_ARM_CORTEX_M4
  5. select RT_USING_COMPONENTS_INIT
  6. select RT_USING_USER_MAIN
  7. default y
  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_UART1
  19. bool "Enable UART1"
  20. default n
  21. config BSP_USING_UART2
  22. bool "Enable UART2"
  23. default n
  24. config BSP_USING_UART3
  25. bool "Enable UART3"
  26. default n
  27. config BSP_USING_UART4
  28. bool "Enable UART4"
  29. default y
  30. endif
  31. endmenu
  32. endmenu