Commit graph

140 commits

Author SHA1 Message Date
Dan Halbert
66c1eff410 fix Write16 bugs; remove unused code 2024-09-27 19:35:23 -04:00
Dan Halbert
bb2ba48e41 register/deregister SCCB I2C device on each read/write 2024-09-24 20:38:50 -04:00
Dan Halbert
7d2126a87c Force new I2C driver; workaround v5.3 instead of v5.4 2024-09-23 20:03:24 -04:00
Dan Halbert
90c1541e2c Merge remote-tracking branch 'espressif/master' into merge-2.0.12-to-circuitpython 2024-09-21 15:49:21 -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
Scott Shawcroft
9abb23ed43
Merge remote-tracking branch 'espressif/master' into HEAD 2024-03-22 16:19:14 -07: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
Scott Shawcroft
e8d500e948
Merge remote-tracking branch 'origin/master' into circuitpython 2023-09-20 14:34:14 -07:00
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
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
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