|
The attributes are documented in the gcc
documentation:
There is no "used" attribute for variables - the nearest is in
fact "unused", which is close to what you think you want. However,
attributes are not the answer here - even if the "used" attribute existed for
variables. You cannot possibly get the effect you are looking for, because
there is no way for the compiler to guarentee the ordering of data within a
section. The way to deal with this is to use a struct containing all your
eeprom data.
mvh.,
David
|
_______________________________________________ AVR-chat mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-chat
