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.
Hello Champs,
Customer is using ti-cgt-armllvm_3.2.0.LTS , but it often does not recognize directives when compiling asm files, such as the following figure, and there are two types of errors. One is an if followed by an absolute expression, because the two macros are undefined, and then an error is reported. Another is that the following directives like .thumbfunc, .armfunc, etc. are not recognized.
The source code is as follows:
Thanks
Regards
Shine
This is assembly code written to be built with the assembler from the older TI proprietary Arm compiler, often called by its short name armcl. To understand how to use it with the newer LLVM/Clang based TI Arm compiler, please see the Migrating Assembly Language Source Code part of the tiarmclang online manual.
Thanks and regards,
-George
Hello George,
Thank you very much.
Below is the customer’s reply.
OK, I understand the question of compiler now. That's what I mentioned earlier, the latest SDK9.1 package is compiled with the ti-cgt-armllvm_3.2.0.LTS compiler, but the MCAL source files provided in the package are written in the armcl compiler. So is there an assembly example for MCAL with ti-cgt-armllvm_3.2.0.LTS?
Thanks
Regards
Shine
Hello shine,
I believe MCAL source files provided are written for ti-cgt-armllvm_3.2.0.LTS .
You can look for "What's new" section in below URL
Regards
Tarun Mukesh
Hello Tarun Mukesh,
Thank you very much.
1. Customer said that this file is the same as in SDK8.0, but the armcl compiler is used in 8.0, and armcl can also be used to build without error.
2. If the file itself is fine, does ti-cgt-armllvm_3.2.0.LTS need to enable with some commands , similar to the following
Thanks
Regards
Shine
Hello Shine,
Few things i didn't get here ,
Are the MCAL drivers showing compilation errors while building ?
or
Any errors while building examples ?
Please ask customer to state their problem a bit more clear.
Regards
Tarun Mukesh
Hello Tarun Mukesh,
Sorry for the late response.
The MCAL drivers is not showing compilation errors while building .c and .h file, but it shows error when building the .asm file in boot code, the error is described as previous thread.
Thanks
Regards
Shine
Hello Tarun Mukesh,
Updated from the customer.
Customer tried to compile the boot.asm (boot.s as well) file provided in the SDK in CCS and found that it failed to compile, and it reported the same problem as he described above.
Do you have a demo of the assembly file with the compiler ti-cgt-armllvm_3.2.0.LTS?
Thanks
Regards
Shine
Hello shine,
sorry for the delay.
The boot.asm file used in PDK has been used in MCAL as well. so i am trying to get more info from the team and expert was not available last week.Allow me some more time to get the info.
Regards
Tarun Mukesh
Hello shine,
Can you please ask customer to do this ?
Remove the below in source code and check once.