Kconfig 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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. config PKGS_DIR
  11. string
  12. option env="PKGS_ROOT"
  13. default "packages"
  14. source "$RTT_DIR/Kconfig"
  15. source "$PKGS_DIR/Kconfig"
  16. config SOC_GK710
  17. bool
  18. select RT_USING_COMPONENTS_INIT
  19. select RT_USING_USER_MAIN
  20. default y
  21. choice
  22. prompt "Device type"
  23. default GK7102C
  24. config SOC_GK7101
  25. bool "GK7101"
  26. config SOC_GK7102
  27. bool "GK7102"
  28. config SOC_GK7101S
  29. bool "GK7101S"
  30. config SOC_GK7102S
  31. bool "GK7102S"
  32. config SOC_GK7102C
  33. bool "GK7102C"
  34. endchoice
  35. choice
  36. prompt "Board type"
  37. default GK7102C_EVB
  38. config BOARD_GK7101_EVB
  39. bool "GK7101_EVB"
  40. depends on SOC_GK7101
  41. config BOARD_GK7101_EVB
  42. bool "GK7101_EVB"
  43. depends on SOC_GK7102
  44. config BOARD_GK7101S_EVB
  45. bool "GK7101S_EVB"
  46. depends on SOC_GK7101S
  47. config BOARD_GK7101S_EVB
  48. bool "GK7101S_EVB"
  49. depends on SOC_GK7102S
  50. config BOARD_GK7102C_EVB
  51. bool "GK7102C_EVB"
  52. depends on SOC_GK7102C
  53. endchoice
  54. choice
  55. prompt "Sensor type"
  56. default SENSOR_TYPE_SC1135
  57. config SENSOR_TYPE_SC1135
  58. bool "SC1135"
  59. config SENSOR_TYPE_SC1145
  60. bool "SC1145"
  61. config SENSOR_TYPE_JXH65
  62. bool "JXH65"
  63. config SENSOR_TYPE_OV9750
  64. bool "OV9750"
  65. config SENSOR_TYPE_AR0130
  66. bool "AR0130"
  67. config SENSOR_TYPE_JXH42
  68. bool "JXH42"
  69. endchoice
  70. config TUNNING_TOOL_SUPPORT
  71. bool "Using Tuning Tool"
  72. default y
  73. config RT_USING_DMA_MEM
  74. bool "Enable DMA Mem"
  75. default y
  76. config ARM1176_USE_VFP
  77. bool "Enable ARM1176 VFP"
  78. default y
  79. config RT_USING_VFP
  80. bool "Enable VFP"
  81. default y
  82. config RT_USING_CPU_FFS
  83. bool "Enable CPU FFS"
  84. default y
  85. menu "Goke Peripheral Device Config"
  86. config RT_USING_ADC
  87. bool "Enable ADC"
  88. default y
  89. config RT_USING_GMAC
  90. bool "Enable GMAC"
  91. default y
  92. config RT_USING_PWM
  93. bool "Enable PWM"
  94. default y
  95. config RT_USING_GK_DMA
  96. bool "Enable DMA"
  97. default y
  98. config RT_USING_LIBZ
  99. bool "Enable Zlib for firmware uncompress"
  100. default y
  101. config RT_USING_LOGCAPTURE
  102. bool "Enable DSP Logcaputure"
  103. default y
  104. config RT_ALIGN_UC_SIZE
  105. int "Align UC Size"
  106. default 8
  107. config RT_ALIGN_DSP_SIZE
  108. int "Align DSP Size"
  109. default 32
  110. config RT_DEBUG_UC_MEM
  111. int "Debug UC Memory"
  112. default 0
  113. config RT_DEBUG_DSP_MEM
  114. int "Debug DSP Memory"
  115. default 0
  116. endmenu