Hello,
I have been experimenting with the linker for the purpose of code optimization. I was able to run certain sections of my own code within the internal flash fairly easily, however, I would like to relocate sections of a completed library to my own user-defined class (e.g. EXTFLASH).
Some examples of libs: ARTX166 AT166 My own libraries
From what I see it is not simple to relocate the objects after they have been compiled - meaning the classes will be placed into my class sections defined in the linker control file. I can use the linker to explicitly specify memory locations for the linker, but this doesn't feel too sustainable. The alternative I see is that I can compile my library as normal, and the user will be forced to enter RENAMECLASS(FCODE=EXTFLASH) in the C166 Misc controls line, however, i find it to be intrusive.
Unless I'm missing something, are these my only options? Also, important to note I am new to this core.
Thank you, Victor