Sketch is too big
Closed this issue · 1 comments
Djarid commented
Hi I'm trying to compile this for the M5Stack - tough but I'm getting the following error
Sketch uses 1568773 bytes (119%) of program storage space. Maximum is 1310720 bytes.
Global variables use 111196 bytes (33%) of dynamic memory, leaving 216484 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
The README.md makes no mention of which MQTT library to include so I went for https://github.com/256dpi/arduino-mqtt
Is this incorrect? How do I get the image size small enough to install
Djarid commented
NVM I should learn to follow instructions better. I was using M5Stack Tough as board type instead of M5Stack-Core2