m5stack / M5StickC

M5StickC Arduino Library
MIT License
477 stars 222 forks source link

arduino 1.8.12 & FactoryTest produces a sketch bigger than flash #108

Closed RussNelson closed 4 years ago

RussNelson commented 4 years ago

Downloaded a fresh 1.8.12. Downloaded the board and libraries

Loaded examples/Basics/FactoryTest Tried to compile it with no changes. Got this error:

Sketch uses 1348331 bytes (102%) of program storage space. Maximum is 1310720 bytes.
Global variables use 52664 bytes (16%) of dynamic memory, leaving 275016 bytes for local variables. Maximum is 327680 bytes.
Sketch too big; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing it.
Error compiling for board M5Stick-C.
EeeeBin commented 4 years ago

Try to read note https://github.com/m5stack/M5StickC/blob/0.2.0/examples/Basics/FactoryTest/FactoryTest.ino#L5

RussNelson commented 4 years ago

Well, what do you know!?! That fixed it. Thank you for helping me with my reading skills. :-)