dear all,
i am working on st10 My code consist of Start166.a66, rtx166t.a66, file1.c,file2.c,file3.c, etc..
I want to link Start166.a66, rtx166t.a66, file1.c to block0 (0X0000-0X3FFF) and file2 onwords to above block0.
i achieved same using #pragma RENAMECLASS. i also link Interrupt subroutine and Jump from block0 to block1 (SINGLE link between block 0 and other block) at a fix address.
i want to maintain code generated for block0 (i will not make any changes in Start166.a66, rtx166t.a66, file1.c) constant for all further link evenif i change code for file2 onwords.
i found even if i comment single line in file2 onword, code related with block0 gets change.
How i will go for my requirement? what sort of care i need to take to achieve my requirement?
Regards... Yogesh.
You should split your program into two projects. Compile and link the first one and don't touch it again. All the modifications will go into the second project. It's not exactly trivial, but it can be done.
Regards, - mike