This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMDXRM57LHDK: Parameters are not relocatable in an object library.

Part Number: TMDXRM57LHDK

Hello,

I created an application in assembly language.

I would like to move an object file in a library.

The library is created with armar.exe.

I insert a parameter in the source file with that syntax:

                               .global  myParam

$myParam          .word    myParam           

The parameter is external to that file

Then the parameter is loaded with that syntax:

                               ldr          r0,$myParam

All works good when I compile the project without the library.

When I create the object library, it’s working with the initial value of the parameter.

But if I change the value of the myParam, this is not changed in the object file after compilation.

What can I do?

Thanks for your help.

Jerome