Kconfig 1.7 KB

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