Skip to content

[Question] Core 2.0 increased in size so much my code won't fit with (default) OTA Partition? (was using 1.0.6) #5697

Closed
@Frtrillo

Description

@Frtrillo

Hardware:

Board ESP32 Dev Module
Version/Date 1.0.6 2.0.0
IDE name Arduino IDE VSCode
Flash Frequency 80Mhz
PSRAM enabled no
Upload Speed 115200
Computer OS Windows 10

Description:

I ran my code with core 1.0.6 (94% size use) with default partition (as im using OTA HTTPUpdates).

So I went and updated core to 2.0 and with its increase in size I exceeded a bit the max. partition size.

I can upload my code of course if I change partition size to Huge APP (No OTA) but then I wouldn't be able to use HTTPUpdate( https://github.com/espressif/arduino-esp32/tree/master/libraries/HTTPUpdate)? Or is that only for Arduino IDE Updates and its different from HTTUpdates...

And If I try to use the other partition schemes my LittleFS code won't work

Debug Messages:

text section exceeds available space in board
The Sketch uses 1313501 bytes (100%) of the program storage space. The maximum is 1310720 bytes.
Global variables use 39536 bytes (12%) of dynamic memory, leaving 288144 bytes for local variables. The maximum is 327680 bytes.
Sketch too big; see https://support.arduino.cc/hc/en-us/articles/360013825179 for tips on reducing it.
Error compilando para la tarjeta ESP32 Dev Module.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions