Kconfig 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. menu "Hardware Drivers Config"
  2. config SOC_STM32F103C8
  3. bool
  4. select SOC_SERIES_STM32F1
  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. menuconfig BSP_USING_UART
  14. bool "Enable UART"
  15. default y
  16. select RT_USING_SERIAL
  17. if BSP_USING_UART
  18. config BSP_USING_UART1
  19. bool "Enable UART1"
  20. default y
  21. config BSP_UART1_RX_USING_DMA
  22. bool "Enable UART1 RX DMA"
  23. depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
  24. default n
  25. menuconfig BSP_USING_SPI
  26. bool "Enable SPI BUS"
  27. default n
  28. select RT_USING_SPI
  29. if BSP_USING_SPI
  30. config BSP_USING_SPI1
  31. bool "Enable SPI1 BUS"
  32. default n
  33. config BSP_SPI1_TX_USING_DMA
  34. bool "Enable SPI1 TX DMA"
  35. depends on BSP_USING_SPI1
  36. default n
  37. config BSP_SPI1_RX_USING_DMA
  38. bool "Enable SPI1 RX DMA"
  39. depends on BSP_USING_SPI1
  40. select BSP_SPI1_TX_USING_DMA
  41. default n
  42. menuconfig BSP_USING_ADC
  43. bool "Enable ADC"
  44. default n
  45. select RT_USING_ADC
  46. if BSP_USING_ADC
  47. config BSP_USING_ADC1
  48. bool "Enable ADC1"
  49. default n
  50. endif
  51. endmenu
  52. menu "Board extended module Drivers"
  53. endmenu
  54. endmenu