Commit graph

19 commits

Author SHA1 Message Date
me-no-dev
2829692928 Revert Uninstalls ISR service on cam deinit #516
Change is necessary in order to not stop other GPIO ISR uses that users might have in their code.

This would cause an error to be emitted when driver is re-initialized, but it's dismissed in code, so the error will not cause any other change in behavior.

cc @AxelLin @wouterdebie
2024-06-17 11:18:36 +03:00
yuxinwww
81cd88c6a0
fix: add gc0308 output only Y format support (#589) 2023-11-08 15:44:40 +02:00
yuxinwww
d1c9c2cdb3
feat: add bf20a6 output Only Y format support (#557) 2023-08-08 12:01:58 +03:00
Juan Schiavoni
c0c17bd3de
Fails with ESP32 (Standard) and not run with ESP-IDF v5.2 (#542)
* Fails with ESP32 (standard) and ESP-IDF v5.2

With IDF 5.2 master it works with esp32-s3 but fails with esp32 standard, and has two problems:

First is that when compiling it does not find the function: ets_delay_us'.
implicit declaration of function 'ets_delay_us';

Second that it fails to initialize xlock.
camera_xclk: ledc_timer_config failed, rc=103

The solution is to add #define ets_delay_us esp_rom_delay_us when the idf version is greater than 5 and initialize the variable timer_conf.deconfigure = false;

* Build fails with ESP32 (Standard) and does not run with ESP-IDF v5.2

With IDF 5.2 master it works with esp32-s3 but fails with esp32 standard, and has two problems:

First is that when compiling it does not find the function: ets_delay_us'.
implicit declaration of function 'ets_delay_us';

Second that it fails to initialize xlock.
camera_xclk: ledc_timer_config failed, rc=103

The solution is to add #define ets_delay_us esp_rom_delay_us when the idf version is greater than 5 and initialize the variable timer_conf.deconfigure = false;

* Fails with ESP32 (Standard) and not run with ESP-IDF v5.2

With IDF 5.2 master it works with esp32-s3 but fails with esp32 standard, and has two problems:

First is that when compiling it does not find the function: ets_delay_us'. implicit declaration of function 'ets_delay_us';

Second that it fails to initialize xlock.
camera_xclk: ledc_timer_config failed, rc=103

The solution is to add #define ets_delay_us esp_rom_delay_us when the idf version is greater than 5 and initialize the variable timer_conf.deconfigure = false;

---------

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
2023-07-18 12:49:07 +03:00
Wouter de Bie
36b8b4e096
Uninstalls ISR service on cam deinit (#516)
Since `gpio_install_isr_service()` is called when initializing the
camera, but on de-initiazlization the ISR service is not uninstalled.
This causes an error `gpio_install_isr_service(410): GPIO isr service
already installed` when the camera is re-initialized.

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
2023-04-20 16:39:09 +03:00
Wang Yu Xin
9d9e7d62a3 feat: add SC031GS camera sensor support 2022-09-26 16:33:43 +08: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
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
yuxinwww
86a4951f50
fix: fix cache error when both nvs and camera used (#362) 2022-02-21 09:23:11 +02:00
Me No Dev
b8ed779427
Fix support for ESP-IDF 5 (#351) 2022-01-18 16:29:28 +02:00
ZHOU Li
e0110c2eca
add github action (#296)
Co-authored-by: zhouli <zhouli@espressif.com>
2021-07-16 11:51:49 +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
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
6f8489ea55 Add driver support for IDF 3.3 2021-05-27 00:05:06 +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