Kconfig 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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_V85XXP
  19. bool
  20. default y
  21. config SOC_V85XXP
  22. bool
  23. select RT_USING_COMPONENTS_INIT
  24. select RT_USING_USER_MAIN
  25. select SOC_SERIES_V85XXP
  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. config BSP_USING_UART5
  49. bool "using uart5"
  50. default n
  51. endif
  52. menuconfig BSP_USING_ADC
  53. bool "Enable ADC"
  54. default n
  55. select RT_USING_ADC
  56. if BSP_USING_ADC
  57. config BSP_USING_ADC0
  58. bool "using adc0"
  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. endif
  79. config BSP_USING_WDT
  80. bool "Enable Watchdog Timer"
  81. select RT_USING_WDT
  82. default n
  83. config BSP_USING_RTC
  84. bool "using internal rtc"
  85. default n
  86. select RT_USING_RTC
  87. endmenu