Commit graph

116 commits

Author SHA1 Message Date
2cd2a6d69f
sccb: lower timeout when probing for camera
1000ms is too long. let's try 50ms.
2023-07-26 12:51:06 -05:00
2710e44802
sccb: don't perform an i2c bus scan 2023-07-26 12:50:38 -05:00
microDev
80b5754456
merge upstream updates 2022-09-17 16:10:32 +05:30
Me No Dev
56119890f5
Merge pull request #413 from WangYuxin-esp/feature/better_use_of_sccb_interface
feat: change sccb APIs for sharing i2c port with other devices
2022-08-23 16:22:53 +03:00
maojianxin
03b1eabb99 Fix fb buffer as 128 bit aligned for improve the data transmission performance with 128 bit SIMD instructions 2022-08-23 15:43:24 +08:00
yuxinwww
33daec7ed5
Merge branch 'master' into feature/better_use_of_sccb_interface 2022-08-12 20:30:33 +08:00
Wang Yu Xin
77d71b03f3 feat: change sccb APIs for sharing i2c port with other devices 2022-08-12 20:18:06 +08:00
Wang Yu Xin
b927e9a8eb feat: add an option for cam task size 2022-08-11 11:32:32 +02:00
Vikram
7b6f020939 Fixed build errors for IDF version release-v5.0
1. Fixed new errors introduced due to removal of -Wno-error=format flag
2. Added CI on `release-v5.0` tag

Signed-off-by: Vikram <vikram.dattu@espressif.com>
2022-08-08 07:58:06 +02:00
Jeff Epler
28804391c0 Fix timeout-get accidental recursion 2022-08-01 09:10:35 -05:00
Jeff Epler
524ba7e0d2 Ensure function declarations are prototypes
(this hid a bug)
2022-08-01 09:10:16 -05:00
Jeff Epler
86627584ef Make sure core pinning is not wrong
there's probably a way to do this in kconfig but I don't know it
2022-08-01 09:10:00 -05:00
Jeff Epler
a12beb9bdb wip 2022-07-29 14:23:37 -05:00
Jeff Epler
476bdc8ec6 use new name 2022-07-29 14:19:49 -05:00
Jeff Epler
2c75c07b44 Fix up sccb driver 2022-07-29 14:19:40 -05:00
Jeff Epler
6c31a4dccd Allow specifying the i2c port to use for sccb
To do this, put NO_PIN (-1) in `pin_sccb_sda` and set `sccb_i2c_port`.
2022-07-28 12:10:55 -05:00
yuxinwww
a6f13d9f3d
feat: add esp32s3 yuv2rgb conversion support (#414) 2022-07-12 17:42:41 +03:00
yuxinwww
eee63849f4
feat: add sc101iot camera sensor driver (#412) 2022-06-30 15:14:35 +03:00
Me No Dev
e7f843bbfa
Fix driver for ESP-IDF v5.0 (#395)
* Migrating rom GPIO include for idf v5
* Add missing includes and build for all targets

Fixes: https://github.com/espressif/esp32-camera/issues/364

Co-authored-by: Francois Dickey <francois.dickey@solace.com>
2022-05-30 14:31:06 +03:00
Wang Yu Xin
157fadb75c feat: add camera sensor sc030iot support 2022-05-25 11:17:20 +08:00
yuxinwww
86a4951f50
fix: fix cache error when both nvs and camera used (#362) 2022-02-21 09:23:11 +02:00
Me No Dev
9a902c4e1f
Update SCCB driver for IDF 5.x 2022-02-20 15:26:25 +02:00
yuxinwww
efa435362c
feat: add camera sensor BF20A6 support (#365) 2022-02-20 15:08:54 +02:00
yuxinwww
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
yuxinwww
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
Louis Vela
2951a1f2bf
Fix typo (#337) 2022-01-18 16:39:07 +02:00
ZHOU Li
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
ZHOU Li
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
ZHOU Li
1a307f7a27
update driver for esp32s3 (#292)
Co-authored-by: zhouli <zhouli@espressif.com>
2021-07-06 10:35:30 +03:00
alic-maker
afcb7b0727
fix some crashes caused by incorrect initialization (#280) 2021-06-17 15:26:22 +03:00
me-no-dev
b94b98124e fix grayscale mode
Fixes https://github.com/espressif/esp32-camera/issues/276
2021-06-16 13:48:18 +03:00
me-no-dev
7a06a7e362 Experimental: Enable EDMA for JPEG when XCLK is 16MHz 2021-05-31 18:05:53 +03:00
me-no-dev
901c05b431 Fix issue with pin debug setup 2021-05-31 11:55:33 +03:00
me-no-dev
7da9cb5ea3 Adjust clocks and DMA for non-jpeg modes and enable EDMA only for 16MHz XCLK 2021-05-27 22:43:00 +03:00
me-no-dev
fa5020f5c7 Fix missing handling for OV7725 and OV7670 2021-05-25 10:42:41 +03:00
Me No Dev
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
alic-maker
ef12131d43 fix memory leak find by unit test 2021-05-18 16:55:19 +08:00
alic-maker
d24494c086 add unit test 2021-05-17 21:42:12 +08:00
me-no-dev
ec14f1d6f7 Fix re-definitions in ESP32 driver
Fixes: https://github.com/espressif/esp32-camera/issues/264
2021-05-12 19:39:23 +03:00
me-no-dev
579fe966ae Add alpha ESP32-S3 support 2021-05-01 00:56:44 +03:00
me-no-dev
acf206a62a Add initial ESP32-S2 support 2021-04-30 16:51:03 +03:00
Aiden
02207e0912 Fix "gpio_install_isr_service failed (105)" error. 2021-03-29 18:03:44 +08:00
Me No Dev
a5ccbecf08
Add missing include for memset 2020-12-31 11:21:18 +02:00
Me No Dev
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
Cedric Velandres
d70d104d3d
Update sccb.c
revert c09b387 and replace it with memset
2020-12-29 13:14:39 +08:00
Cedric Velandres
c09b387588 Bugfix: initialize i2c_config_t struct to zero
In some cases, initialization fails because some flags are not set to zero
2020-12-24 18:08:16 +08:00
Jermolinski
25d524723d
Bugfix: disable uncontrollable output "bh: 0x...." in log
The uncontrolled output "bh: 0x0..." will be changed to the controllable output by using ESP_LOGD
esp_printf("bh: 0x -> ESP_LOGD(
This change also speed-up's the camera throughput a little (in case the log level is set to info or below)
2020-12-14 17:33:04 +01:00
Me No Dev
48a83ed97b
Merge branch 'master' into Camera/NT99141 2020-10-14 02:10:27 +03:00
Me No Dev
95bbf77c97
Merge pull request #176 from LumiGuide/external-xclk
Add support for external xclk
2020-10-14 01:53:59 +03:00
Me No Dev
2f27323c3e
Merge pull request #177 from LumiGuide/gpio-before-reset
Set up GPIO before initializing camera sensor
2020-10-14 01:52:47 +03:00