
The cause is due to lack of a version (making you think you did something wrong, when you didn't at all) - the output is horribly non-descript. There is a sharp-edge on you'll discover in the platform.io build process (in espidf v3.3 & 4.0.1) where a project which has only had git init but nothing committed will crash platform.io build process with highly non-useful output. Warning about platform.io/espidf and fresh (not initialized) git repos Now the module is included, and you're hopefully back to the same place as the easy-Arduino way.

The easy way - on the env section of platformio.ini, add the following:Īfter that #include "esp_camera.h" statement will be available. Enable PSRAM in menuconfig (also set Flash and PSRAM frequiencies to 80MHz).


Using YUV or RGB puts a lot of strain on the chip because writing to PSRAM is not particularly fast.Except when using CIF or lower resolution with JPEG, the driver requires PSRAM to be installed and activated.Additionally it provides a few tools, which allow converting the captured frame data to the more common BMP and JPEG formats. This repository hosts ESP32 series Soc compatible driver for image sensors.
