• 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 is too big.

Q&A Forum › Category: ESP32 › Sketch is too big.
0 Vote Up Vote Down
Kees_01 asked 3 years ago

Hi, 
In Arduino IDE I have taken example>ESP32>Camera>CameraWebServer
I have an ESP32-CAM module with programmer and USB (ESP32-CAM-MB).
I have commented the WROVER-Kit, typed the SSID and Password between the double quotes and selected  camera-module AI-Thinker although this name does not match the hardware. The hardware shows only ESP32-S. But I gave it a try.
Without the module connected I clicked the verify button (V) only.
The compiler said “The sketch is using 2594794 bytes (197%) program space. The maximum is 1310720 bytes etc.
Error: Sketch is too big.
I have closed this sketch, rebooted, and restarted windows11. Same issue.ESP32-CAM
How can I solve it?

Question Tags: ESP32-Cam
2 Answers
0 Vote Up Vote Down
Kees_01 answered 3 years ago

Issue solved. I had selected Tools>Board>ESP32Arduino>ESP32 Dev Module.
Had to be Tools>Board>ESP32Arduino>AI Thinker ESP32-CAM
Can happen….
Problem solved!

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

Great!
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

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

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition 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.