Kconfig 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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_V85XXP
  10. bool
  11. default y
  12. config SOC_V85XXP
  13. bool
  14. select RT_USING_COMPONENTS_INIT
  15. select RT_USING_USER_MAIN
  16. select SOC_SERIES_V85XXP
  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. config BSP_USING_UART5
  40. bool "using uart5"
  41. default n
  42. endif
  43. menuconfig BSP_USING_ADC
  44. bool "Enable ADC"
  45. default n
  46. select RT_USING_ADC
  47. if BSP_USING_ADC
  48. config BSP_USING_ADC0
  49. bool "using adc0"
  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. endif
  70. config BSP_USING_WDT
  71. bool "Enable Watchdog Timer"
  72. select RT_USING_WDT
  73. default n
  74. config BSP_USING_RTC
  75. bool "using internal rtc"
  76. default n
  77. select RT_USING_RTC
  78. endmenu