Kconfig 756 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. menu "Hardware Drivers Config"
  2. config MCU_HC32L196
  3. bool
  4. select ARCH_ARM_CORTEX_M0
  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_UART0
  21. bool "Enable UART0"
  22. default y
  23. config BSP_USING_UART1
  24. bool "Enable UART1"
  25. default n
  26. endif
  27. endmenu
  28. menu "Board extended module Drivers"
  29. endmenu
  30. endmenu