Kconfig 626 B

123456789101112131415161718192021222324252627282930
  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. menuconfig BSP_USING_UART
  8. bool "Enable UART"
  9. default y
  10. select RT_USING_SERIAL
  11. if BSP_USING_UART
  12. config BSP_USING_UART1
  13. bool "Enable UART1"
  14. default y
  15. endif
  16. config BSP_USING_USBD
  17. bool "Enable Full-Speed USB Device Controller(USBD)"
  18. select RT_USING_USB_DEVICE
  19. default y
  20. source "$BSP_DIR/../libraries/HAL_Drivers/drivers/Kconfig"
  21. endmenu
  22. endmenu