I'm new to Ardunio and very rusty on C. My problem is I've hit the limit on my Uno’s flash/program memory (ATmega328 = 32KB) limit for my project and I'm reasonably sure %80 or more is occupied by my libraries and their functions. I have read and attempted to apply space saving coding techniques with only very small marginal size differences (without touching the libraries). Here are the libraries I'm using:
Time.h TimeAlarm.h SoftwareSerial.h TinyGPS.h U8glib.h * I know my font selection using the u8glib will also add considerably to the flash size required. Wire.h Adafruit_BMP085.h
My question is: Is there an easy method for determining which libraries and functions in my code occupy the most program space?
The only idea I came up with was to use the example code for each library, remove functions I'm not using (eg serial debugging) and add absent functions that I’m using, compile and check the size. Is there a better way?
I don't want to post my code because it's unfinished, parts don't work, uncommented and generally very ugly.
For those interested in photos of my project and who haven't guessed it's a GPS Alarm Clock here it is http://www.flickr.com/photos/andrew-d/sets/72157630172598358/with/7162560453/.
Thanks for any help / suggestions.