Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The example uses 128% of the program memory #46

Open
Arixto09 opened this issue Dec 12, 2023 · 1 comment
Open

The example uses 128% of the program memory #46

Arixto09 opened this issue Dec 12, 2023 · 1 comment

Comments

@Arixto09
Copy link

Hello, I am trying to use the light example on the WEMOS D1 MINI ESP32 board, but I receive an error (the code occupies 128% of the program memory)

`Library ESP32 Arduino Matter has been declared precompiled:
Using precompiled library in c:\Storage\02_File\00_Windows\02_Documentos\Arduino\libraries\ESP32_Arduino_Matter\src\esp32
Sketch uses 1677981 bytes (128%) of program storage space. Maximum is 1310720 bytes.
Global variables use 97388 bytes (29%) of dynamic memory, leaving 230292 bytes for local variables. Maximum is 327680 bytes.
Sketch too big; see https://support.arduino.cc/hc/en-us/articles/360013825179 for tips on reducing it.
text section exceeds available space in board

Compilation error: text section exceeds available space in board`

It doesn't seem logical to me that an unmodified example code for this MCU exceeds memory in such a way.
Is it an error in the example?
Am I wrong about something?

@Yacubane
Copy link
Owner

It seems like you missed one point from readme:
Choose larger partition scheme, for example Minimal SPIFFS.
Default partition scheme is to small for Matter - unfortunately it takes a lot of space

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants