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.

TDA4VM: ti-cgt-armllvm_3.2.0.LTS

Genius 13655 points
Part Number: TDA4VM


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:

 .if  __TI_ARM_V7M__ | __TI_ARM_V6M0__
        .thumbfunc _c_int00
        .thumbfunc _resetvectors
        .thumbfunc HF
   .else
        .armfunc _c_int00
        .armfunc _resetvectors
        .armfunc HF
   .endif

The error:

Targets\sdk\MainIsland\pdk_jacinto_08_05_00_36\packages\ti\csl\arch\r5\src\startup\boot.asm:55:9: error: expected absolute expression

   .if  __TI_ARM_V7M__ | __TI_ARM_V6M0__

        ^

Targets\sdk\MainIsland\pdk_jacinto_08_05_00_36\packages\ti\csl\arch\r5\src\startup\boot.asm:56:2: error: unknown directive

        .thumbfunc _c_int00

        ^

Targets\sdk\MainIsland\pdk_jacinto_08_05_00_36\packages\ti\csl\arch\r5\src\startup\boot.asm:57:2: error: unknown directive

        .thumbfunc _resetvectors

        ^

Targets\sdk\MainIsland\pdk_jacinto_08_05_00_36\packages\ti\csl\arch\r5\src\startup\boot.asm:58:2: error: unknown directive

        .thumbfunc HF

        ^

Targets\sdk\MainIsland\pdk_jacinto_08_05_00_36\packages\ti\csl\arch\r5\src\startup\boot.asm:60:2: error: unknown directive

        .armfunc _c_int00

        ^



Thanks
Regards
Shine