Kconfig 905 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. menu "Hardware Drivers Config"
  2. config SOC_STM32L053R8
  3. bool
  4. select SOC_SERIES_STM32L0
  5. default y
  6. menu "Onboard Peripheral Drivers"
  7. config BSP_USING_USB_TO_USART
  8. bool "Enable USB TO USART (uart2)"
  9. select BSP_USING_UART2
  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_UART2
  23. bool "Enable UART2"
  24. default y
  25. config BSP_UART2_RX_USING_DMA
  26. bool "Enable UART2 RX DMA"
  27. depends on BSP_USING_UART2 && RT_SERIAL_USING_DMA
  28. default n
  29. endif
  30. endmenu
  31. menu "Board extended module Drivers"
  32. endmenu
  33. endmenu