Kconfig 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. menu "Camera configuration"
  2. config OV7670_SUPPORT
  3. bool "Support OV7670 VGA"
  4. default y
  5. help
  6. Enable this option if you want to use the OV7670.
  7. Disable this option to save memory.
  8. config OV7725_SUPPORT
  9. bool "Support OV7725 VGA"
  10. default y
  11. help
  12. Enable this option if you want to use the OV7725.
  13. Disable this option to save memory.
  14. config NT99141_SUPPORT
  15. bool "Support NT99141 HD"
  16. default y
  17. help
  18. Enable this option if you want to use the NT99141.
  19. Disable this option to save memory.
  20. config OV2640_SUPPORT
  21. bool "Support OV2640 2MP"
  22. default y
  23. help
  24. Enable this option if you want to use the OV2640.
  25. Disable this option to save memory.
  26. config OV3660_SUPPORT
  27. bool "Support OV3660 3MP"
  28. default y
  29. help
  30. Enable this option if you want to use the OV3360.
  31. Disable this option to save memory.
  32. config OV5640_SUPPORT
  33. bool "Support OV5640 5MP"
  34. default y
  35. help
  36. Enable this option if you want to use the OV5640.
  37. Disable this option to save memory.
  38. config GC2145_SUPPORT
  39. bool "Support GC2145 2MP"
  40. default y
  41. help
  42. Enable this option if you want to use the GC2145.
  43. Disable this option to save memory.
  44. config GC032A_SUPPORT
  45. bool "Support GC032A VGA"
  46. default y
  47. help
  48. Enable this option if you want to use the GC032A.
  49. Disable this option to save memory.
  50. config GC0308_SUPPORT
  51. bool "Support GC0308 VGA"
  52. default y
  53. help
  54. Enable this option if you want to use the GC0308.
  55. Disable this option to save memory.
  56. config BF3005_SUPPORT
  57. bool "Support BF3005(BYD3005) VGA"
  58. default y
  59. help
  60. Enable this option if you want to use the BF3005.
  61. Disable this option to save memory.
  62. choice SCCB_HARDWARE_I2C_PORT
  63. bool "I2C peripheral to use for SCCB"
  64. default SCCB_HARDWARE_I2C_PORT1
  65. config SCCB_HARDWARE_I2C_PORT0
  66. bool "I2C0"
  67. config SCCB_HARDWARE_I2C_PORT1
  68. bool "I2C1"
  69. endchoice
  70. config SCCB_CLK_FREQ
  71. int "SCCB clk frequency"
  72. default 100000
  73. range 100000 400000
  74. help
  75. Increasing this value can reduce the initialization time of the sensor.
  76. Please refer to the relevant instructions of the sensor to adjust the value.
  77. choice GC_SENSOR_WINDOW_MODE
  78. bool "GalaxyCore Sensor Window Mode"
  79. depends on (GC2145_SUPPORT || GC032A_SUPPORT || GC0308_SUPPORT)
  80. default GC_SENSOR_SUBSAMPLE_MODE
  81. help
  82. This option determines how to reduce the output size when the resolution you set is less than the maximum resolution.
  83. SUBSAMPLE_MODE has a bigger perspective and WINDOWING_MODE has a higher frame rate.
  84. config GC_SENSOR_WINDOWING_MODE
  85. bool "Windowing Mode"
  86. config GC_SENSOR_SUBSAMPLE_MODE
  87. bool "Subsample Mode"
  88. endchoice
  89. choice CAMERA_TASK_PINNED_TO_CORE
  90. bool "Camera task pinned to core"
  91. default CAMERA_CORE0
  92. help
  93. Pin the camera handle task to a certain core(0/1). It can also be done automatically choosing NO_AFFINITY.
  94. config CAMERA_CORE0
  95. bool "CORE0"
  96. config CAMERA_CORE1
  97. bool "CORE1"
  98. config CAMERA_NO_AFFINITY
  99. bool "NO_AFFINITY"
  100. endchoice
  101. config CAMERA_DMA_BUFFER_SIZE_MAX
  102. int "DMA buffer size"
  103. range 8192 32768
  104. default 32768
  105. help
  106. Maximum value of DMA buffer
  107. Larger values may fail to allocate due to insufficient contiguous memory blocks, and smaller value may cause DMA interrupt to be too frequent
  108. endmenu