Kconfig 2.8 KB

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