Kconfig 494 B

123456789101112131415161718192021222324
  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. source "$(BSP_DIR)/../libraries/HAL_Drivers/drivers/Kconfig"
  17. endmenu
  18. endmenu