Kconfig 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. menu "Hardware Drivers Config"
  2. menu "On-chip Peripheral Drivers"
  3. config BSP_USING_GPIO
  4. bool "Enable GPIO"
  5. select RT_USING_PIN
  6. default y
  7. menu "UART Drivers"
  8. config BSP_USING_UART0
  9. bool "Enable UART0 PB00/PB01(R/T)"
  10. select RT_USING_SERIAL
  11. default n
  12. config BSP_USING_UART1
  13. bool "Enable UART1 PA18/PA17(R/T)"
  14. select RT_USING_SERIAL
  15. default n
  16. config BSP_USING_UART2
  17. bool "Enable UART2 PA04/PA05(R/T)"
  18. select RT_USING_SERIAL
  19. default n
  20. config BSP_USING_UART3
  21. bool "Enable UART3 PA30/PA29(R/T)"
  22. select RT_USING_SERIAL
  23. default n
  24. config BSP_USING_UART4
  25. bool "Enable UART4 PB10/PB11(R/T)"
  26. select RT_USING_SERIAL
  27. default n
  28. config BSP_USING_UART5
  29. bool "Enable UART5 PB12/PB13(R/T)"
  30. select RT_USING_SERIAL
  31. default y
  32. endmenu
  33. endmenu
  34. menu "Onboard Peripheral Drivers"
  35. endmenu
  36. menu "Offboard Peripheral Drivers"
  37. endmenu
  38. endmenu