Kconfig 2.6 KB

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