Hello TI,
I am using CCS version 12.6.
I have 2 different projects. From project1 I have the output project1.out.
In project2, in linker file, the .cmd file, I want to add the file project1.out to a memory section.
I tried the following in the linker file (.cmd file)
SECTIONS
{
randomsection: load = MEMORY_LOCATION, PAGE = 0
{
project1.out(randomsection)
endrandomsection = .;
}
}
MEMORY_LOCATION is already defined in MEMORY part.
The error that I'm getting is that it cannot find file project1.out.
Project1 is already built and I can see the project1.out file.
What I tried is:
project2 -> Properties -> Build -> C2000 Linker -> File Search Path -> Add <dir> to library search path (--search_path, -i)
In this window I've added the location where project1.out is.
Unfortunately, the error persist.
What am I supposed to do to add a .out file from a CCS project to a certain memory location of another CCS project?

