m5stack / M5StickC

M5StickC Arduino Library
MIT License
476 stars 221 forks source link

FactoryTest won't compile #170

Open Witchdoc59 opened 9 months ago

Witchdoc59 commented 9 months ago

I have an M5Stick-C and when I try to compile FactoryTest I get this error message.

Sketch uses 1494653 bytes (114%) of program storage space. Maximum is 1310720 bytes. Global variables use 54248 bytes (16%) of dynamic memory, leaving 273432 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

I'm thinking that the FactoryTest is the software that came on the device when I first got it. So it should compile and upload. Using Arduino IDE 2.2.1 with the ESP-32 Boards 2.0.14

felmue commented 9 months ago

Hello @Witchdoc59

maybe this post here can help?

Thanks Felix

Cyberspy44 commented 9 months ago

Make a double check on the port and on the upload speed.