Bug 2861 - Not for all UC3C chips exists a GNU LD script file
: Not for all UC3C chips exists a GNU LD script file
Status: RESOLVED INVALID
Product: Atmel Software Framework
avr32
: v3.3.x
: Other Standalone
: normal priority normal (vote)
: ---
Assigned To: ASF Maintainers
:
:
:
:
  Show dependency treegraph
 
Reported: 2012-09-12 20:16 CEST by Nils Reichert
Modified: 2012-09-13 11:55 CEST (History)
1 user (show)

See Also:
Public Description:
Development Branch:
Whiteboard:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nils Reichert 2012-09-12 20:16:39 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?
Comment 1 Nils Reichert 2012-09-13 11:55:49 CEST
Following document AVR32795, I found in path
"C:\Program Files (x86)\Atmel\Atmel Studio
6.0\extensions\Atmel\AVRGCC\3.4.1.81\AVRToolchain\avr32\lib\ldscripts" the
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