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:
parent
28a1e40ebd
commit
ed2dd29eda
2 changed files with 14 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue