I have an XC167 application that needs to place the code from two modules into the SROM class in order to copy code from Flash to the internal program memory. I can use the following in the User Sections of the Linker but this will not adapt automatically to the growth of the first module.
?PR?ABC%ABC_CODE(0xe00000)[], ?PR?DEF%DEF_CODE(0xe00400)[]
Hi Barry, no I did it not with the SROM class. I only checked the syntax. Generally I have used with code section, which was working too. Give me time to try and check out with SROM class. Stefan
That's me again. I try it and it will not work with SROM class. I played additionally with '&' sign to try append the second section directly, but there was not the effect, that areas for execution was append direct each after another. :-( Stefan