tiny2313 int main( void ) { } WinAVR-20060421 102 bytes WinAVR-20070525 108 bytes +6 bytes
EEPROM code:
#include <avr/eeprom.h>
struct { int x; } ee;
// Main - a simple test program int main( void ) { unsigned char *eeptr=0x0000; eeprom_read_block(&ee, eeptr, sizeof(ee)); }
WinAVR-20060421 196 bytes WinAVR-20070525 218 bytes +16 bytes
PGMSPACE code:
#include <avr/pgmspace.h>
int main(void){ PGM_P defaults = PSTR("123456"); }
WinAVR-20060421 118 bytes WinAVR-20070525 148 bytes +24 bytes
|