Kconfig 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. menu "Hardware Drivers Config"
  2. menu "On-chip Peripheral Drivers"
  3. menu "PIN Drivers"
  4. config BSP_USING_GPIO
  5. bool "Enable GPIO"
  6. select RT_USING_PIN
  7. default y
  8. endmenu
  9. menu "UART Drivers"
  10. config BSP_USING_UART1
  11. bool "Enable UART1 PB06/PB07(T/R)"
  12. select RT_USING_SERIAL
  13. default y
  14. config BSP_USING_UART2
  15. bool "Enable UART2 PA02/PA03(T/R)"
  16. select RT_USING_SERIAL
  17. default n
  18. config BSP_USING_UART3
  19. bool "Enable UART3 PC06/PC07(T/R)"
  20. select RT_USING_SERIAL
  21. default n
  22. endmenu
  23. menu "SPI Drivers"
  24. config BSP_USING_SPI1
  25. bool "Enable SPI1 BUS PB03/PB04/PB05(CLK/MISO/MOSI)"
  26. select RT_USING_SPI
  27. select RT_USING_PIN
  28. default n
  29. config BSP_USING_SPI2
  30. bool "Enable SPI2 BUS PB13/PB14/PB15(CLK/MISO/MOSI)"
  31. select RT_USING_SPI
  32. select RT_USING_PIN
  33. default n
  34. depends on !BSP_USING_PWM_GP16C2T4
  35. endmenu
  36. menu "I2C Drivers"
  37. config BSP_USING_I2C1
  38. bool "Enable I2C1 BUS PC12/PD02(SCL/SDA)"
  39. select RT_USING_I2C
  40. default n
  41. config BSP_USING_I2C2
  42. bool "Enable I2C2 BUS PB10/PB11(SCL/SDA)"
  43. select RT_USING_I2C
  44. default n
  45. endmenu
  46. menu "HWtimer Drivers"
  47. config BSP_USING_HWTIMER1
  48. bool "Using timer1"
  49. select RT_USING_HWTIMER
  50. default n
  51. endmenu
  52. menu "PWM Drivers"
  53. config BSP_USING_PWM_GP16C2T1
  54. bool "Using PWM_1(GP16C2T1) PB01/PB02"
  55. select RT_USING_PWM
  56. default n
  57. config BSP_USING_PWM_GP16C2T4
  58. bool "Using PWM2(GP16C2T4) PB12/PB14"
  59. select RT_USING_PWM
  60. default n
  61. depends on !BSP_USING_SPI2
  62. endmenu
  63. menu "RTC Drivers"
  64. config BSP_USING_RTC
  65. bool "Using RTC"
  66. select RT_USING_RTC
  67. default n
  68. endmenu
  69. menu "ADC Drivers"
  70. config BSP_USING_ADC
  71. bool "Using ADC"
  72. select RT_USING_ADC
  73. default n
  74. endmenu
  75. endmenu
  76. menu "Onboard Peripheral Drivers"
  77. endmenu
  78. menu "Offboard Peripheral Drivers"
  79. endmenu
  80. endmenu