Kconfig 574 B

1234567891011121314151617181920212223242526272829
  1. menu "Hardware Drivers"
  2. menu "On-chip Peripheral Drivers"
  3. menuconfig BSP_USING_UART
  4. bool "Enable UART"
  5. default y
  6. select USE_SERIAL # sdk serial component
  7. select ENABLE_Pl011_UART # select sdk pl011 driver
  8. select RT_USING_SERIAL
  9. if BSP_USING_UART
  10. config RT_USING_UART1
  11. bool "Enable UART1"
  12. default y
  13. config RT_USING_UART0
  14. bool "Enable UART0"
  15. default n
  16. endif
  17. endmenu
  18. menu "Board extended module Drivers"
  19. endmenu
  20. endmenu