core/lib/settings: Added SETTINGS_CONF_SKIP_CONVENIENCE_FUNCS.

Unfortunately, some platforms don't properly drop unreferenced functions,
so on these broken platforms we can save a significant amount
of space by skipping the definition of the convenience functions.
This commit is contained in:
Robert Quattlebaum 2013-03-19 09:50:18 -07:00
parent 28a1e40ebd
commit ed2dd29eda
2 changed files with 14 additions and 0 deletions

View file

@ -30,6 +30,12 @@
*
*/
#ifdef SETTINGS_CONF_SKIP_CONVENIENCE_FUNCS
#undef SETTINGS_CONF_SKIP_CONVENIENCE_FUNCS
#endif
#define SETTINGS_CONF_SKIP_CONVENIENCE_FUNCS 1
#include "contiki.h"
#include "settings.h"
#include "dev/eeprom.h"