Kconfig 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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. choice SCCB_HARDWARE_I2C_PORT
  57. bool "I2C peripheral to use for SCCB"
  58. default SCCB_HARDWARE_I2C_PORT1
  59. config SCCB_HARDWARE_I2C_PORT0
  60. bool "I2C0"
  61. config SCCB_HARDWARE_I2C_PORT1
  62. bool "I2C1"
  63. endchoice
  64. choice GC_SENSOR_WINDOW_MODE
  65. bool "GalaxyCore Sensor Window Mode"
  66. depends on (GC2145_SUPPORT || GC032A_SUPPORT || GC0308_SUPPORT)
  67. default GC_SENSOR_SUBSAMPLE_MODE
  68. help
  69. This option determines how to reduce the output size when the resolution you set is less than the maximum resolution.
  70. SUBSAMPLE_MODE has a bigger perspective and WINDOWING_MODE has a higher frame rate.
  71. config GC_SENSOR_WINDOWING_MODE
  72. bool "Windowing Mode"
  73. config GC_SENSOR_SUBSAMPLE_MODE
  74. bool "Subsample Mode"
  75. endchoice
  76. choice CAMERA_TASK_PINNED_TO_CORE
  77. bool "Camera task pinned to core"
  78. default CAMERA_CORE0
  79. help
  80. Pin the camera handle task to a certain core(0/1). It can also be done automatically choosing NO_AFFINITY.
  81. config CAMERA_CORE0
  82. bool "CORE0"
  83. config CAMERA_CORE1
  84. bool "CORE1"
  85. config CAMERA_NO_AFFINITY
  86. bool "NO_AFFINITY"
  87. endchoice
  88. config CAMERA_DMA_BUFFER_SIZE_MAX
  89. int "DMA buffer size"
  90. range 8192 32768
  91. default 32768
  92. help
  93. Maximum value of DMA buffer
  94. Larger values may fail to allocate due to insufficient contiguous memory blocks, and smaller value may cause DMA interrupt to be too frequent
  95. endmenu