Spark Team. At present, Spark does not have a PROGMEM variable modifier like arduino:
The PROGMEM keyword is a variable modifier, it should be used only with the datatypes defined in pgmspace.h. It tells the compiler “put this information into flash memory”, instead of into SRAM, where it would normally go.
This creates a situation where const and initialized variables data is stored in both flash and RAM, using precious memory resources. It is crucial that this capability be added soon as important libraries and programs will be near impossible to port (eg u8glib). At present, I am unable to run my code on my Spark as I have hit the 16KB boundary on RAM usage, in large part due to this problem. Can you please let the community know when this will be “attacked” in one of your sprints?