Kconfig 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. mainmenu "RT-Thread Configuration"
  2. config BSP_DIR
  3. string
  4. option env="BSP_ROOT"
  5. default "."
  6. config RTT_DIR
  7. string
  8. option env="RTT_ROOT"
  9. default "../.."
  10. # you can change the RTT_ROOT default: "rt-thread"
  11. # example : default "F:/git_repositories/rt-thread"
  12. config PKGS_DIR
  13. string
  14. option env="PKGS_ROOT"
  15. default "packages"
  16. source "$RTT_DIR/Kconfig"
  17. source "$PKGS_DIR/Kconfig"
  18. config SOC_SERIES_V85XX
  19. bool
  20. default y
  21. config SOC_V85XX
  22. bool
  23. select RT_USING_COMPONENTS_INIT
  24. select RT_USING_USER_MAIN
  25. select SOC_SERIES_V85XX
  26. default y
  27. menu "On-chip Peripheral Drivers"
  28. menuconfig BSP_USING_UART
  29. bool "Enable UART"
  30. default y
  31. select RT_USING_SERIAL
  32. if BSP_USING_UART
  33. config BSP_USING_UART0
  34. bool "using uart0"
  35. default n
  36. config BSP_USING_UART1
  37. bool "using uart1"
  38. default n
  39. config BSP_USING_UART2
  40. bool "using uart2"
  41. default y
  42. config BSP_USING_UART3
  43. bool "using uart3"
  44. default n
  45. config BSP_USING_UART4
  46. bool "using uart4"
  47. default n
  48. endif
  49. menuconfig BSP_USING_ADC
  50. bool "Enable ADC"
  51. default n
  52. select RT_USING_ADC
  53. if BSP_USING_ADC
  54. config BSP_USING_ADC0
  55. bool "using adc0"
  56. default n
  57. config BSP_USING_ADC1
  58. bool "using adc1"
  59. default n
  60. endif
  61. menuconfig BSP_USING_HWTIMER
  62. bool "Enable hwtimer"
  63. default n
  64. select RT_USING_HWTIMER
  65. if BSP_USING_HWTIMER
  66. config BSP_USING_HWTIMER0
  67. bool "using hwtimer0"
  68. default n
  69. config BSP_USING_HWTIMER1
  70. bool "using hwtimer1"
  71. default n
  72. config BSP_USING_HWTIMER2
  73. bool "using hwtimer2"
  74. default n
  75. config BSP_USING_HWTIMER3
  76. bool "using hwtimer3"
  77. default n
  78. config BSP_USING_HWTIMER4
  79. bool "using hwtimer4"
  80. default n
  81. config BSP_USING_HWTIMER5
  82. bool "using hwtimer5"
  83. default n
  84. config BSP_USING_HWTIMER6
  85. bool "using hwtimer6"
  86. default n
  87. config BSP_USING_HWTIMER7
  88. bool "using hwtimer7"
  89. default n
  90. endif
  91. config BSP_USING_WDT
  92. bool "Enable Watchdog Timer"
  93. select RT_USING_WDT
  94. default n
  95. config BSP_USING_RTC
  96. bool "using internal rtc"
  97. default n
  98. select RT_USING_RTC
  99. endmenu