Kconfig 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. menu "Hardware Drivers Config"
  2. config SOC_STM32G071RB
  3. bool
  4. select SOC_SERIES_STM32G0
  5. default y
  6. menu "Onboard Peripheral Drivers"
  7. config BSP_USING_USB_TO_USART
  8. bool "Enable USB TO USART (lpuart1)"
  9. select BSP_USING_LPUART1
  10. default y
  11. endmenu
  12. menu "On-chip Peripheral Drivers"
  13. config BSP_USING_GPIO
  14. bool "Enable GPIO"
  15. select RT_USING_PIN
  16. default y
  17. menuconfig BSP_USING_UART
  18. bool "Enable UART"
  19. default y
  20. select RT_USING_SERIAL
  21. if BSP_USING_UART
  22. config BSP_USING_LPUART1
  23. bool "Enable LPUART1"
  24. default y
  25. config BSP_LPUART1_RX_USING_DMA
  26. bool "Enable LPUART1 RX DMA"
  27. depends on BSP_USING_LPUART1 && RT_SERIAL_USING_DMA
  28. default n
  29. config BSP_USING_UART1
  30. bool "Enable UART1"
  31. default n
  32. config BSP_UART1_RX_USING_DMA
  33. bool "Enable UART1 RX DMA"
  34. depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
  35. default n
  36. config BSP_USING_UART2
  37. bool "Enable UART2"
  38. default n
  39. config BSP_UART2_RX_USING_DMA
  40. bool "Enable UART2 RX DMA"
  41. depends on BSP_USING_UART2 && RT_SERIAL_USING_DMA
  42. default n
  43. endif
  44. endmenu
  45. menu "Board extended module Drivers"
  46. endmenu
  47. endmenu