Kconfig 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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_USING_SPI1
  18. bool "Enable SPI1 BUS"
  19. select RT_USING_SPI
  20. default n
  21. config BSP_SPI_USING_DMA
  22. bool "Enable SPI DMA support"
  23. default n
  24. menuconfig BSP_USING_I2C1
  25. bool "Enable I2C1 BUS (software simulation)"
  26. default n
  27. select RT_USING_I2C
  28. select RT_USING_I2C_BITOPS
  29. select RT_USING_PIN
  30. if BSP_USING_I2C1
  31. config BSP_I2C1_SCL_PIN
  32. int "i2c1 scl pin number"
  33. range 1 176
  34. default 15
  35. config BSP_I2C1_SDA_PIN
  36. int "I2C1 sda pin number"
  37. range 1 176
  38. default 16
  39. endif
  40. endmenu
  41. menu "Board extended module Drivers"
  42. endmenu
  43. endmenu