I have a problem with avr-gcc. I have an error recurring:
undefined reference to `__eerd_block'
This is referred to a macro
EELOAD(s) and EESAVE(s) where s is a structure of uint, structs, eccc...
The define of EELOAD(s) and EESAVE(s) are:
#define EELOAD( s ) eeprom_read_block( &s, s##_eeprom, sizeof(s) )
#define EESAVE( s ) eeprom_write_block( &s, (void*) s##_eeprom, sizeof(s) )
I would like to know what is the s##_eeprom
, or how the ##
is translated, it should be an address, but I can't figure out how can I modify or how to make work this.