Home Page Forums Tinylab Tinylab Getting Started Reply To: Tinylab Getting Started



For me it builds using 99% of the available space, but I’m running Arduino 1.6.7. It may be that with a newer SDK version like 1.6.10 it uses a bit more space to build, hitting 100+%.

Here’s a workaround. When I was working on another project, I found the SD library is way too large. There’s a replacement library called SdFat which is much smaller. Switching to that dropped tinylab_test_code space usage from 99% to 86%. To switch to SdFat,

Go to https://github.com/greiman/SdFat and copy the SdFat library to your Arduino\Libraries folder.

In tinylab_test_code.ino, change this (line 30):

#include <SD.h>

to this:

#include <SdFat.h>

and compile/upload the sketch again. Not sure if anyone from BoMec is reading this, but they should consider making this change. Maybe I’ll try to add a pull request for it to their GitHub.