ASF Bugzilla – Bug 2861
Not for all UC3C chips exists a GNU LD script file
Last modified: 2012-09-13 11:55:49 CEST
When trying to use the functionality from FLASHC example (using nvram to store
data that would not fit in userpage only) I run into the problem, that I was
unable to find the correct 'link_uc3c264c.lds' file anywhere in any Atmel
directory. Only for 'link_uc3c0512c.lds' and a few other models, but I guess I
cannot/should not try to use 'link_uc3l064.lds' for uc3c264c, or? The one from
the example contains in PHDRS the definition for FLASH_NVRAM, which does not
exist in all lds files.
It would be nice to have a directory that contains linker files for ALL chips,
since I am not sure what lds file I should use as base to modify it.
I guess as a good explanation about how to define the own lds file is the
document "doc32158.pdf" (Rev. 32158A-AVR-01/11) with the title "AVR32795: Using
the GNU Linker Scripts on AVR UC3 Devices". Should that be sufficient?
Following document AVR32795, I found in path
"C:\Program Files (x86)\Atmel\Atmel Studio
default linker scripts taht are used.
The file with the extension .x is the default linker script (just open it to
see that it has similar content as the xxx.lds files from the examples).
Sorry for this bug