Kconfig 997 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. menu "Hardware Drivers Config"
  2. config SOC_STM32L496AG
  3. bool
  4. select SOC_SERIES_STM32L4
  5. select RT_USING_COMPONENTS_INIT
  6. select RT_USING_USER_MAIN
  7. default y
  8. menu "Onboard Peripheral Drivers"
  9. endmenu
  10. menu "On-chip Peripheral Drivers"
  11. config BSP_USING_GPIO
  12. bool "Enable GPIO"
  13. select RT_USING_PIN
  14. default y
  15. menuconfig BSP_USING_UART
  16. bool "Enable UART"
  17. default y
  18. select RT_USING_SERIAL
  19. if BSP_USING_UART
  20. config BSP_USING_UART1
  21. bool "Enable UART1"
  22. default n
  23. config BSP_USING_UART2
  24. bool "Enable UART2"
  25. default y
  26. config BSP_UART1_RX_USING_DMA
  27. bool "Enable UART1 RX DMA"
  28. depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
  29. default n
  30. endif
  31. source "../libraries/HAL_Drivers/Kconfig"
  32. endmenu
  33. menu "Board extended module Drivers"
  34. endmenu
  35. endmenu