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

Compilation error: text section exceeds available space in board #10

Open
lukedoomer opened this issue Nov 29, 2022 · 1 comment
Open

Comments

@lukedoomer
Copy link

lukedoomer commented Nov 29, 2022

Sketch uses 1779973 bytes (135%) of program storage space. Maximum is 1310720 bytes.
Global variables use 66812 bytes (20%) of dynamic memory, leaving 260868 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
@Michail1
Copy link

Michail1 commented Nov 29, 2022

I am pretty sure (almost guaranteed) that you are using a new M5stack board version which causes the problem.
Meaning, I think you are likely using an updated board version official from M5Stack. This will not work. My guess is version close to 2.0.x
You need to either go back to 1.0.9 which will solve your problem or use the Arduino esp32 for M5Stack-Core for any version.
I use 2.4.2, but you can upgrade to 3.0.2 without a problem.

So, official M5Stack board 1.0.9 or any Arduino board version of the M5Stack board setup will resolve your issue.

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