Kconfig 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. menu "Hardware Drivers Config"
  2. menu "Onboard Peripheral Drivers"
  3. endmenu
  4. menu "On-chip Peripheral Drivers"
  5. config BSP_USING_GPIO
  6. bool "Enable GPIO"
  7. select RT_USING_PIN
  8. default y
  9. menuconfig BSP_USING_UART
  10. bool "Enable UART"
  11. default y
  12. select RT_USING_SERIAL
  13. if BSP_USING_UART
  14. config BSP_USING_LPUART1
  15. bool "Enable LPUART1"
  16. default y
  17. config BSP_LPUART1_RX_USING_DMA
  18. bool "Enable LPUART1 RX DMA"
  19. depends on BSP_USING_LPUART1 && RT_SERIAL_USING_DMA
  20. default n
  21. config BSP_USING_UART1
  22. bool "Enable UART1"
  23. default n
  24. config BSP_UART1_RX_USING_DMA
  25. bool "Enable UART1 RX DMA"
  26. depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
  27. default n
  28. config BSP_USING_UART3
  29. bool "Enable UART3"
  30. default n
  31. config BSP_UART3_RX_USING_DMA
  32. bool "Enable UART3 RX DMA"
  33. depends on BSP_USING_UART3 && RT_SERIAL_USING_DMA
  34. default n
  35. config BSP_USING_UART4
  36. bool "Enable UART4"
  37. default n
  38. config BSP_UART4_RX_USING_DMA
  39. bool "Enable UART4 RX DMA"
  40. depends on BSP_USING_UART4 && RT_SERIAL_USING_DMA
  41. default n
  42. endif
  43. source "$BSP_DIR/../libraries/HAL_Drivers/drivers/Kconfig"
  44. endmenu
  45. menu "Board extended module Drivers"
  46. endmenu
  47. endmenu