Hi,
In SYS/BIOS V6.33, we could apply customized platform to configure the target/board, which would generate default linker command file linker.cmd automatically by SYS/BIOS.
Also extra supplemental linker command file could be added for some specific memory and section definition.
So I did following test in one project based on TI SYS/BIOS example:
Configuration 1: Customized platform only (exclude the TMS320F28335.cmd from compile);
Configuration 2: default platform + supplemental linker command file (default TMS320F28335.cmd).
Both of the two configurations could be compiled successfully.Then I tried to exclude TMS320F28335.cmd from compile in configuration 2, but it failed to compile due to the sections such as .text,.ebss are failed to map.
So what is the difference between customized platform and default platform? when apply the platform only, why customized platform could work but the default one could not?
Then I deep into the code and found the linker.com of customized platform would generate the memory segment and section definition, but the linker.cmd from default platform has no such information, but instead only contain following info:
SECTIONS
{
xdc.meta: type = COPY
}
So what will make the difference between the two linker.cmd? And what configuration should I pay attention to manipulate it?
Thanks very much by advance!
Best regards!