Small tweaks and new test for native target

This commit is contained in:
maniacbug
2011-08-27 21:58:06 -07:00
parent 5344c5fe8c
commit e1527afc31
5 changed files with 559 additions and 0 deletions

View File

@@ -19,10 +19,12 @@
#endif
// Avoid spurious warnings
#ifndef NATIVE
#undef PROGMEM
#define PROGMEM __attribute__(( section(".progmem.data") ))
#undef PSTR
#define PSTR(s) (__extension__({static prog_char __c[] PROGMEM = (s); &__c[0];}))
#endif
/****************************************************************************/