Hello,
I want to split my program, so that about half of my c modules are linked starting from 0 and the other half starting from 0x4000. I configured the L166 to "use linker control file" (project options -> L166 Misc) and defined withing the rec.lin file a new section "..., MYSPECIALCODE (0x4000-0x7FFF), ..."
But how do I tell the linker what c and h files should be within the MYSPECIALCODE section??
Hoping for help
Tobi
I think you better explain more. WHY do you not want one part of the code to change? That very much sounds like you plan to remote-update the other part of the code. Which would imply a boot loader, even if you maybe don't decide to call it a boot loader.
Never, ever, try a situation where you modify and recompile your code, and you expect some part of the program to not change. The compiler is not designed to give such promises. You always have to assume that things can change.