I'm working on a test program that uses PSP. It looks like CCS now automatically generates more files than before. There are 2 that have SECTION and memory type definitions in them - linker.cmd and <projectname>cfg.cmd. Since they are generated from the same tcf file (if I understand it correctly) some sections are identical therefore linking fails. Is there something I'm missing here?
>> G:\\BASE_C6424\\xdcconfig\\linker.cmd, line 104: warning:
multiple definitions of SECTION named '.stack'
>> G:\\BASE_C6424\\xdcconfig\\linker.cmd, line 105: warning:
multiple definitions of SECTION named '.args'
>> error: memory types IRAM and IRAM on page 0 overlap
>> error: memory types L1DSRAM and L1DSRAM on page 0 overlap
>> error: memory types SRAM and SRAM on page 0 overlap
>> error: memory types DDR2 and DDR2 on page 0 overlap
>> warning: creating output section .printf without SECTIONS specification
>> warning: creating output section $build.attributes without SECTIONS
specification
>> warning: load address of uninitialized section .hwi ignored
>> error: errors in input - ./Debug/Test.out not built
>> Compilation failure
Build Complete,
7 Errors, 5 Warnings, 0 Remarks.
My configuration is: CCS 3.3.82.13, BIOS 5.33.06, Code Gen Tools 6.0.8, XDC 3.00.06, PSP 1.10.00.