I am using LwMesh in a project w/ the ATMEGA256RFR2.
I am also trying to "pre-program" my EEPROM with data embedded in a .ELF file. While doing so, I have been experimenting with different linker options, etc. (see: http://www.atmel.com/webdoc/atme...).
I have come across something interesting. When I uncheck the "Garbage collect unused sections (-Wl,--gc-sections)" option in AVR/GNU Linker Optimization, my build fails, specifically, faulting on a slew of "undefined references" in several LwMesh files (nwk.c, nwkTx.c, sys.c, sysEncrypt.c). I did not expect this. Am I doing something wrong, or is this a bug in the stack?