Commit graph

125 commits

Author SHA1 Message Date
Dan Halbert
6e7bd56988 sccb-ng.c: correct address byte-swapping in Write16 routines 2024-09-27 19:17:34 -04:00
Ivan Grokhotkov
4f57767251
fix: correct calloc call arguments order (#683)
GCC 14 adds "calloc-transposed-args" warning which is an error at the
default IDF build settings.
2024-09-17 12:40:38 +03:00
robin
8e1ec63c99
Implement new idf-v5 I2C driver (#677)
* moved sccb to new i2c driver

* implemented val16 functions

* address to dev_handle translation

* moved new i2c driver to a seperate file

* removed old idf version warning
2024-09-13 14:10:59 +03:00
Ichiro Maruta
7aa37d4f22
Add option to customize JPEG mode frame size in menuconfig (#667) 2024-07-16 15:47:46 +03:00
Me No Dev
984999f26b
Create workaround for DMA failing on ESP32-S3 when WiFi is started (#625)
* Create workaround for DMA failing on ESP32-S3 when WiFi is started

Relates to https://github.com/espressif/esp32-camera/issues/620

* Add comment explaining the workaround
2024-01-23 12:16:48 +02:00
Me No Dev
8df17f7286
Align the frame buffers to the structure alignment (#623)
* Align the frame buffers to the structure alignment 

cc: https://github.com/esp-rs/esp-idf-sys/issues/278
cc: https://github.com/esp-rs/rust/pull/195

* Include stdalign.h
2024-01-22 11:27:48 +02:00
Vikram Dattu
772aefdb67
Fix cam_take going into infinite loop (#578)
- Check if we have remaining ticks before going for math and calling cam_take recursively
2023-10-11 18:55:12 +03:00
Vikram Dattu
e689c3b082
Support: jpeg decoder on esp32c2 (#525)
* Extend s/w jpeg decoder functions for chips missing rom tjpgd

Also, disabled camera_init and capture from example for chips not
supporting camera

Signed-off-by: Vikram <vikram.dattu@espressif.com>

* Extend CI build support for C3 and C2

Signed-off-by: Vikram <vikram.dattu@espressif.com>

---------

Signed-off-by: Vikram <vikram.dattu@espressif.com>
2023-04-25 14:40:46 +03:00
Wouter de Bie
1cb6af89d1
Adds esp_camera_return_all() (#519) 2023-04-20 16:38:40 +03:00
Tomas Rezucha
fac950973b
Fix/pedantic build (#529)
* Fix: Make esp32-camera function prototypes strict

This is required for pedantic builds with
-Wstrict-prototypes flag

* ci: Enable pedantic example build
2023-04-19 21:06:33 +03:00
Sam Washburn
2e6a36d57d
Fix: Make sure there is a queue size of at least 1. (#527)
Co-authored-by: Sam Washburn <samw@kinoo.family>
2023-04-11 10:52:11 +03:00
Patryk Ludwikowski
6edafc7501
fix: remove unnecessary new line in logs of driver initialization (#500)
yes - because it hurt my eyes to see logs with this one, weird empty line...
2023-03-30 11:42:17 +03:00
Me No Dev
2478a5fc7a
Fix LoadStoreAlignment panic (#491) 2023-01-12 12:54:22 +02:00
Wang Yu Xin
ae117e9d85 fix: fix bad macro definition on cam stack size 2022-11-15 10:56:03 +08:00
Wang Yu Xin
f3d04ea2c5 fix: change sccb_write return int value 2022-11-09 19:19:20 +08:00
yuxinwww
02e629a96a
Merge branch 'espressif:master' into feature/support_sccb_handle_16bit_val 2022-11-08 16:58:04 +08:00
Wang Yu Xin
e8727c2747 fix: heap corruption caused by dma_buffer in cam_deinit() 2022-10-27 17:07:55 +08:00
Wang Yu Xin
ae60e38d57 feat: add sccb handle addr16_val16 reg type 2022-10-14 20:27:56 +08:00
Wang Yu Xin
9d9e7d62a3 feat: add SC031GS camera sensor support 2022-09-26 16:33:43 +08:00
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
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