Kconfig 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  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. config BF20A6_SUPPORT
  63. bool "Support BF20A6(BYD20A6) VGA"
  64. default y
  65. help
  66. Enable this option if you want to use the BF20A6.
  67. Disable this option to save memory.
  68. config SC101IOT_SUPPORT
  69. bool "Support SC101IOT HD"
  70. default n
  71. help
  72. Enable this option if you want to use the SC101IOT.
  73. Disable this option to save memory.
  74. choice SC101_REGS_SELECT
  75. prompt "SC101iot default regs"
  76. default SC101IOT_720P_15FPS_ENABLED
  77. depends on SC101IOT_SUPPORT
  78. help
  79. Currently SC010iot has several register sets available.
  80. Select the one that matches your needs.
  81. config SC101IOT_720P_15FPS_ENABLED
  82. bool "xclk20M_720p_15fps"
  83. help
  84. Select this option means that when xclk is 20M, the frame rate is 15fps at 720p resolution.
  85. config SC101IOT_VGA_25FPS_ENABLED
  86. bool "xclk20M_VGA_25fps"
  87. help
  88. Select this option means that when xclk is 20M, the frame rate is 25fps at VGA resolution.
  89. endchoice
  90. config SC030IOT_SUPPORT
  91. bool "Support SC030IOT VGA"
  92. default y
  93. help
  94. Enable this option if you want to use the SC030IOT.
  95. Disable this option to save memory.
  96. choice SCCB_HARDWARE_I2C_PORT
  97. bool "I2C peripheral to use for SCCB"
  98. default SCCB_HARDWARE_I2C_PORT1
  99. config SCCB_HARDWARE_I2C_PORT0
  100. bool "I2C0"
  101. config SCCB_HARDWARE_I2C_PORT1
  102. bool "I2C1"
  103. endchoice
  104. config SCCB_CLK_FREQ
  105. int "SCCB clk frequency"
  106. default 100000
  107. range 100000 400000
  108. help
  109. Increasing this value can reduce the initialization time of the sensor.
  110. Please refer to the relevant instructions of the sensor to adjust the value.
  111. choice GC_SENSOR_WINDOW_MODE
  112. bool "GalaxyCore Sensor Window Mode"
  113. depends on (GC2145_SUPPORT || GC032A_SUPPORT || GC0308_SUPPORT)
  114. default GC_SENSOR_SUBSAMPLE_MODE
  115. help
  116. This option determines how to reduce the output size when the resolution you set is less than the maximum resolution.
  117. SUBSAMPLE_MODE has a bigger perspective and WINDOWING_MODE has a higher frame rate.
  118. config GC_SENSOR_WINDOWING_MODE
  119. bool "Windowing Mode"
  120. config GC_SENSOR_SUBSAMPLE_MODE
  121. bool "Subsample Mode"
  122. endchoice
  123. choice CAMERA_TASK_PINNED_TO_CORE
  124. bool "Camera task pinned to core"
  125. default CAMERA_CORE0
  126. help
  127. Pin the camera handle task to a certain core(0/1). It can also be done automatically choosing NO_AFFINITY.
  128. config CAMERA_CORE0
  129. bool "CORE0"
  130. config CAMERA_CORE1
  131. bool "CORE1"
  132. config CAMERA_NO_AFFINITY
  133. bool "NO_AFFINITY"
  134. endchoice
  135. config CAMERA_DMA_BUFFER_SIZE_MAX
  136. int "DMA buffer size"
  137. range 8192 32768
  138. default 32768
  139. help
  140. Maximum value of DMA buffer
  141. Larger values may fail to allocate due to insufficient contiguous memory blocks, and smaller value may cause DMA interrupt to be too frequent
  142. config CAMERA_CONVERTER_ENABLED
  143. bool "Enable camera RGB/YUV converter"
  144. depends on IDF_TARGET_ESP32S3
  145. default n
  146. help
  147. Enable this option if you want to use RGB565/YUV422/YUV420/YUV411 format conversion.
  148. choice CAMERA_CONV_PROTOCOL
  149. bool "Camera converter protocol"
  150. depends on CAMERA_CONVERTER_ENABLED
  151. default LCD_CAM_CONV_BT601_ENABLED
  152. help
  153. Supports format conversion under both BT601 and BT709 standards.
  154. config LCD_CAM_CONV_BT601_ENABLED
  155. bool "BT601"
  156. config LCD_CAM_CONV_BT709_ENABLED
  157. bool "BT709"
  158. endchoice
  159. endmenu