176 Commits

Author SHA1 Message Date
49edbbfac0 feat: add camera sensor bf3005 support (#350)
BF3005 is a VGA CMOS Image Sensor.
The sensor is well stocked and comes with a series of image processing functions.
The support for this sensor is added here to facilitate the use of this sensor by more people. PTAL,Thanks.
2022-01-18 16:43:42 +02:00
99fe5ae956 feat: add sccb freq option in menuconfig (#349)
In some scenarios, we need to initialize the camera sensor quickly. For example, take a few pictures after waking up from sleep mode.
The PR adds an option to set the sclk of sccb to improve sensor initialization time.
2022-01-18 16:43:23 +02:00
245ad8d465 Add idf_component.yml manifest and CI workflow for upload (#348)
Add idf_component.yml manifest
Add CI workflow for upload to the registry
Component is uploaded whenever workflow runs on a tagged commit
2022-01-18 16:40:11 +02:00
82160bca23 Silence unused variable warnings (#340) 2022-01-18 16:39:32 +02:00
2951a1f2bf Fix typo (#337) 2022-01-18 16:39:07 +02:00
b8ed779427 Fix support for ESP-IDF 5 (#351) 2022-01-18 16:29:28 +02:00
221d24da19 bugfix:ov7725 vsync get frame failed (#335)
When I use OV7725 and OV7670, I can't get the image. This pr modifies the VSYNC register of OV7725 7670, and the image can be obtained normally, and the white balance is adjusted to make the obtained image normal.
2021-12-23 12:12:12 +02:00
61400bc73b Fix "periph_module_enable" not found in ESP-IDF v5 (#333)
Fixes: https://github.com/espressif/esp32-camera/issues/332
2021-11-15 10:16:26 +02:00
3022601f87 Create stale.yml 2021-09-02 14:49:41 +03:00
e02038c3f0 update lcd_cam register for s3 (#313)
Co-authored-by: zhouli <zhouli@espressif.com>
2021-09-01 12:06:02 +03:00
d1f6b9c2af Allow frame buffer to be placed in DRAM (#302)
Let the program automatically select the frame buffer position according to the free memory size
2021-07-29 13:33:38 +03:00
6a9497bbe9 Update ov2640.c (#298)
offset_Y was repeated, the last change to offset_X
2021-07-20 11:08:07 +03:00
60a69c15ab Enable CI for pull requests 2021-07-16 12:02:04 +03:00
e0110c2eca add github action (#296)
Co-authored-by: zhouli <zhouli@espressif.com>
2021-07-16 11:51:49 +03:00
6b1efc1edd add gcxxxx sensors (#293)
- Add sensor GC2145 GC0308 GC032A
- Make xclk driver more standard
- Update README.md
- Add an option to adjust the DMA buffer size

Co-authored-by: zhouli <zhouli@espressif.com>
2021-07-15 17:17:15 +03:00
1a307f7a27 update driver for esp32s3 (#292)
Co-authored-by: zhouli <zhouli@espressif.com>
2021-07-06 10:35:30 +03:00
7c5d8b229c Fix compilation for S3
Follow up of afcb7b0727
2021-06-18 12:07:07 +03:00
5a5efde083 Fix nt99141 sensor (#188)
This PR fixes some warnings about the nt99141 sensor's driver implementation so we can build it with -Werror:

actually return the ret variable in set_framesize
remove unused variables in set_brightness and set_contrast
remove unused function calc_sysclk
2021-06-18 11:54:05 +03:00
afcb7b0727 fix some crashes caused by incorrect initialization (#280) 2021-06-17 15:26:22 +03:00
b94b98124e fix grayscale mode
Fixes https://github.com/espressif/esp32-camera/issues/276
2021-06-16 13:48:18 +03:00
3159d9d9fa Fix typo in Kconfig (#279) 2021-06-14 09:10:13 +03:00
7a06a7e362 Experimental: Enable EDMA for JPEG when XCLK is 16MHz 2021-05-31 18:05:53 +03:00
901c05b431 Fix issue with pin debug setup 2021-05-31 11:55:33 +03:00
7da9cb5ea3 Adjust clocks and DMA for non-jpeg modes and enable EDMA only for 16MHz XCLK 2021-05-27 22:43:00 +03:00
6f8489ea55 Add driver support for IDF 3.3 2021-05-27 00:05:06 +03:00
a9b4e41d2a Fix build for IDF 3.3 2021-05-26 23:14:16 +03:00
154c727bf9 Added missing library.json build flag (#269)
Project wouldn't compile with this error:
.pio/libdeps/esp32cam/esp32-camera/driver/cam_hal.c:18:10: fatal error: ll_cam.h: No such file or directory
Adding this line seems to fix it.
2021-05-26 11:44:28 +03:00
fa5020f5c7 Fix missing handling for OV7725 and OV7670 2021-05-25 10:42:41 +03:00
726c1315a4 fix_tjpgd_configuration for esp32s2 (#268)
Co-authored-by: zhouli <zhouli@espressif.com>
2021-05-25 10:37:27 +03:00
8eb032a94e Rework ESP32 driver and improve ESP32-S2 and ESP32-S3 drivers (#267)
* Initial commit of reworked esp32 and cam_hal driver

* remove old driver and implement get frame timeout

* Update documentation
2021-05-21 10:28:50 +03:00
722497cb19 Merge pull request #265 from espressif/develop/update_structure
feature: add unit test
2021-05-19 11:29:42 +03:00
ef12131d43 fix memory leak find by unit test 2021-05-18 16:55:19 +08:00
d24494c086 add unit test 2021-05-17 21:42:12 +08:00
56930c23c1 fix delay_us api compatibility for esp32s2 2021-05-17 20:13:00 +08:00
b58018357a Initial support for ESP32-S3 2021-05-14 13:57:24 +03:00
ec14f1d6f7 Fix re-definitions in ESP32 driver
Fixes: https://github.com/espressif/esp32-camera/issues/264
2021-05-12 19:39:23 +03:00
5da530c983 Update cam_hal.c 2021-05-12 15:56:32 +03:00
8603001e1d Merge pull request #263 from espressif/esp32s2
Esp32s2 Support
2021-05-12 00:11:50 +03:00
579fe966ae Add alpha ESP32-S3 support 2021-05-01 00:56:44 +03:00
acf206a62a Add initial ESP32-S2 support 2021-04-30 16:51:03 +03:00
2dded7c578 Fix "gpio_install_isr_service failed (105)" error.
The error occurs during the camera initialization. The modification in the pull request solved the error, however, I am not sure the if the modification introduces other defects.
2021-03-29 14:05:07 +03:00
02207e0912 Fix "gpio_install_isr_service failed (105)" error. 2021-03-29 18:03:44 +08:00
488c308b79 Update idf_component.yml 2021-03-11 11:57:32 +02:00
770f26a704 Add note explaining to free the buffer from fmt2jpg 2021-02-23 01:03:49 +02:00
859e536b56 Revert "Fix memory leak in fmt2jpg"
This reverts commit e9e2fdd1746c11c2072bbde716eb8a6ef54845cf.
2021-02-23 01:00:16 +02:00
e9e2fdd174 Fix memory leak in fmt2jpg
Fixes: https://github.com/espressif/esp32-camera/issues/248
2021-02-23 00:58:30 +02:00
a5ccbecf08 Add missing include for memset 2020-12-31 11:21:18 +02:00
a819144cd0 Merge pull request #216 from Jermolinski/patch-2
Bugfix: disable uncontrollable output "bh: 0x...." in log
2020-12-29 12:46:07 +02:00
c1457ea2a6 Merge pull request #219 from ccvelandres/master
Bugfix: initialize i2c_config_t struct to zero
2020-12-29 12:33:44 +02:00
d70d104d3d Update sccb.c
revert c09b387 and replace it with memset
2020-12-29 13:14:39 +08:00