Kconfig 2.6 KB

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