Kconfig 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. menu "Hardware Drivers Config"
  2. config SOC_STM32L475VE
  3. bool
  4. select SOC_SERIES_STM32L4
  5. default y
  6. menu "Onboard Peripheral Drivers"
  7. endmenu
  8. menu "On-chip Peripheral Drivers"
  9. config BSP_USING_GPIO
  10. bool "Enable GPIO"
  11. select RT_USING_PIN
  12. default y
  13. config BSP_USING_UART1
  14. bool "Enable UART1"
  15. select RT_USING_SERIAL
  16. default y
  17. config BSP_UART_USING_DMA_RX
  18. bool "Enable UART RX DMA support"
  19. default n
  20. config BSP_USING_SPI1
  21. bool "Enable SPI1 BUS"
  22. select RT_USING_SPI
  23. default n
  24. config BSP_SPI_USING_DMA
  25. bool "Enable SPI DMA support"
  26. default n
  27. menuconfig BSP_USING_I2C1
  28. bool "Enable I2C1 BUS (software simulation)"
  29. default n
  30. select RT_USING_I2C
  31. select RT_USING_I2C_BITOPS
  32. select RT_USING_PIN
  33. if BSP_USING_I2C1
  34. config BSP_I2C1_SCL_PIN
  35. int "i2c1 scl pin number"
  36. range 1 176
  37. default 15
  38. config BSP_I2C1_SDA_PIN
  39. int "I2C1 sda pin number"
  40. range 1 176
  41. default 16
  42. endif
  43. endmenu
  44. menu "Board extended module Drivers"
  45. endmenu
  46. endmenu