Kconfig 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. menu "Hardware Drivers Config"
  2. config SOC_CH32V307VC
  3. bool
  4. select SOC_RISCV_SERIES_CH32V3
  5. select RT_USING_COMPONENTS_INIT
  6. select RT_USING_USER_MAIN
  7. default y
  8. menu "On-chip Peripheral Drivers"
  9. config BSP_USING_UART
  10. bool "Enable UART"
  11. select RT_USING_SERIAL
  12. default n
  13. if BSP_USING_UART
  14. config BSP_USING_UART1
  15. bool "Enable UART1"
  16. default n
  17. config BSP_USING_UART2
  18. bool "Enable UART2"
  19. default n
  20. config BSP_USING_UART3
  21. bool "Enable UART3"
  22. default n
  23. config BSP_USING_UART4
  24. bool "Enable UART4"
  25. default n
  26. config BSP_USING_UART5
  27. bool "Enable UART5"
  28. default n
  29. config BSP_USING_UART6
  30. bool "Enable UART6"
  31. default n
  32. config BSP_USING_UART7
  33. bool "Enable UART7"
  34. default n
  35. config BSP_USING_UART8
  36. bool "Enable UART8"
  37. default n
  38. endif
  39. config BSP_USING_ADC
  40. bool "Enable ADC"
  41. select RT_USING_ADC
  42. default n
  43. if BSP_USING_ADC
  44. config BSP_USING_ADC1
  45. bool "Enable ADC1"
  46. default n
  47. config BSP_USING_ADC2
  48. bool "Enable ADC2"
  49. default n
  50. config ADC_CHANNEL_16
  51. bool "Enable ADC CHANNEL 16 (inside temperature)"
  52. default n
  53. config ADC_CHANNEL_17
  54. bool "Enable ADC CHANNEL 17 (inside Verf)"
  55. default n
  56. endif
  57. config BSP_USING_DAC
  58. bool "Enable DAC"
  59. select RT_USING_DAC
  60. default n
  61. if BSP_USING_DAC
  62. config BSP_USING_DAC_CHANNEL1
  63. bool "Enable DAC CHANNEL1"
  64. default n
  65. config BSP_USING_DAC_CHANNEL2
  66. bool "Enable DAC CHANNEL2"
  67. default n
  68. endif
  69. endmenu
  70. menu "Onboard Peripheral Drivers"
  71. endmenu
  72. menu "Board extended module Drivers"
  73. endmenu
  74. endmenu