Hi, I’m working with the ESP32-CAM ebook. The sketch CameraWebServer compiles and runs without problems on a ESP32-Cam board with MB board.
Because I want it a little bit easier and have access to all GPIOs, I bought an ESP32-WROVER-DEV board (https://www.amazon.de/dp/B09Z2GCCJZ?psc=1&ref=ppx_yo2ov_dt_b_product_details). In the sketch I changed the camera model from AI_THINKER to WROVER_KIT. When I try to compile, I get error messages, that the sketch is too big:
Arduino: 1.8.13 (Linux), Board: “ESP32 Wrover Module, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), QIO, 80MHz, 921600, None”
Archiving built core (caching) in: /tmp/arduino_cache_418912/core/core_esp32_esp32_esp32wrover_PartitionScheme_default,FlashMode_qio,FlashFreq_80,UploadSpeed_921600,DebugLevel_none_e39513a897a43c8d73dca388c2d479a7.a
Sketch uses 2594778 bytes (197%) of program storage space. Maximum is 1310720 bytes.
Global variables use 56256 bytes (17%) of dynamic memory, leaving 271424 bytes for local variables. Maximum is 327680 bytes.
Everything runs on a Raspberry-4B. What is wrong, what can I do? Please help. Thank you.
Regards, Hajo.
Hi.
In your Arduino IDE, go to Tools > Partition Scheme, select “Huge APP (3MB No OTA)“.
Then, upload the code again.
Let me know if this solves the issue.
Regards,
Sara
Hi Sara,
it works wonderful. Thank you very very much for your help!
BTW: with this board, the code uploads at once without any buttons, thats very comfortable.
With the ESP32-CAM you have to hold the IO0 button and then press the reset button (page 54 of your ebook).
Regards, Hajo.