Kconfig 955 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. source "../libraries/HAL_Drivers/Kconfig"
  31. endmenu
  32. menu "Board extended module Drivers"
  33. endmenu
  34. endmenu