Skip to content

code is too big #11539

Closed
Closed
@glory666g

Description

@glory666g

Board

ESP32 Dev Module

Device Description

ESP32-S3-Korvo-2

Hardware Configuration

no

Version

latest stable Release (if not listed below)

IDE Name

Arduino IDE

Operating System

Windows 11

Flash frequency

240MHz

PSRAM enabled

yes

Upload speed

115200

Description

I need to use a big unsigned char array,but the Arduino IDE compile not passed because the array is too big.How can i solve this problem?
The array has 4M elements.

Sketch

no

Debug Message

Sketch uses 4444606 bytes (339%) of program storage space. Maximum is 1310720 bytes.
Global variables use 22176 bytes (6%) of dynamic memory, leaving 305504 bytes for local variables. Maximum is 327680 bytes.

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions