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.
Tool/software: Code Composer Studio
Hi,
I tried to use some libraries in assembly language.
Each library works well when called alone.
But if I call more than one library:
.mlib RM48_RTI_Mac_v39.mlib
.mlib RM48_VIM_Mac_v39.mlib
I have some errors like:
[E0600] Macro library is not in archive format
Is it possible to call more than one library?
How can I do that.
Thanks for your help.
Jerome
You are attempting to use a library that contains assembler macros. This is a very different thing from calling functions that are in a library of object files. Is this what you intend to do? For now, I presume it is.
Please search for Define Macro Library in the ARM assembly language tools manual. Be sure you carefully follow all the instructions documented there.
Thanks and regards,
-George
You can have multiple macro libraries. Note that CCS has no built-in support for macro libraries. In fact, it knows nothing about macro libraries. Only the assembler interacts with a macro library.
Thanks and regards,
-George
Hi George,
I come back to this subject; I was working to another one.
Yes you are right, it’s possible to create multi macro libraries but I got strange errors with multi libraries.
I created a very simple project in order to isolate the issue.
There is one library with all macro instructions for GIO, HET, RTI and there is no error with that unique library.
There are 3 libraries with the same macro-instructions One for GIO, One for HET, One for RTI.
In that case I got one error (rtiEnable_Comp in the problems panel) and (hetEnable_rg in the source panel).
If you change the order of call the libraries the error change or disappear.
I sent you the whole css project and the 4 files to create the libraries with the commands used.
Thanks for your help.
Jerome
I apologize for the delay. Thank you for sending in the test case. I can reproduce the same behavior. I filed CODEGEN-4700 in the SDOWP system to have this investigated. You are welcome to follow it with the SDOWP link below in my signature.
Thanks and regards,
-George
Hello George,
Thanks very much to take in care this issue.
I will follow it in SDOWP and will let you know of the advancement.
Jerome