This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Locating half of source code to specific memory section

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