LwMesh v1.1.1 had two example projects that could be used for OTAU (/apps/Bootloader and /apps/OTAServerDemo.
These were removed in later versions of the stack. Unfortunately, the examples only supported the ATMEGA1281 and the ATMEGA128RFA1. I am trying to make the minimum number of changes to get them to support the ATMEGA256RFR2.
I finally got the bootloader app to compile "successfully", but the last mod I had to make was to a linker script. Specifically, there was a line that was causing problems:
I have absolutely no experience with linker scripts. My mod was a bit of a lucky/educated guess based on the error messages I saw when compiling. The complete script is attached (changed from .ld to .txt).
Was my mod "correct"? What is the significance of 6 vs. 5?
What would be some good sources for learning more about linker scripts (looking for more than "google it" answers here).
Thanks in advance.