I have trouble getting this camera working with custom firmware. Original firmware worked ok.
When I flash CameraWebServer example, with #define CAMERA_MODEL_M5STACK_ESP32CAM // No PSRAM
used, it fails with:
E (124) cam_hal: cam_dma_config(271): frame buffer malloc failed
E (124) cam_hal: cam_config(355): cam_dma_config failed
E (124) camera: Camera config failed with error 0xffffffff
Camera init failed with error 0xffffffff
I've double-checked the pin are set according to the M5Stack documentation.
I'm using ESP32 Arduino SDK 2.0.0. There is no special board definition for M5Stack ESP32-CAM, I set classic ESP32 board, DEVKIT V1.
Does anyone know what could be a problem?