• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Sketch too big for ESP32-Wrover

Q&A Forum › Category: ESP32 › Sketch too big for ESP32-Wrover
0 Vote Up Vote Down
Hans-Joachim Koch asked 2 years ago

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.

3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

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

0 Vote Up Vote Down
Hans-Joachim Koch answered 2 years ago

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.

0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Yes.
I also discovered that board recently and it’s much better than the other one.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.