Other Parts Discussed in Thread: TMS320F28379D,
Greetings,
I am porting a project from the 379D to the 386S. I simply changed the processor type, and built it. The result is a link error which surrounds a GROUP construct in the linker cmd file. The project uses LOAD_START, LOAD_SIZE, and RUN_START. The arguments to those are used in the cpp files which the project uses. I have found, that to avoid a link error, the arguments in the 379D project must start with an underscore. But in the 386S project, they must start without the underscore. Is there an additional setting which causes this?
TMS320F28379D project
cpp file
#pragma CODE_SECTION("MyMethods”)
cmd file
GROUP
{
MyMethods
} LOAD = blah
RUN = blah
LOAD_START(_StoredAddress),
LOAD_SIZE(_StoredSize),
RUN_START(_RunAddress)
TMS320F28386S project
Everything is the same except that in order to link, the underscore must be removed from the start of StoredAddress, StoredSize, and RunAddress.
cpp file
#pragma CODE_SECTION("MyMethods”)
cmd file
GROUP
{
MyMethods
} LOAD = blah
RUN = blah
LOAD_START(StoredAddress),
LOAD_SIZE(StoredSize),
RUN_START(RunAddress)
Thank you,
Ed