16 Commits

Author SHA1 Message Date
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
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
9d9e7d62a3 feat: add SC031GS camera sensor support 2022-09-26 16:33:43 +08:00
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
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
86a4951f50 fix: fix cache error when both nvs and camera used (#362) 2022-02-21 09:23:11 +02:00
b8ed779427 Fix support for ESP-IDF 5 (#351) 2022-01-18 16:29:28 +02: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
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
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
fa5020f5c7 Fix missing handling for OV7725 and OV7670 2021-05-25 10:42:41 +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