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.

Compiler/MSP430F5340: MSP430f5342

Part Number: MSP430F5340

Tool/software: TI C/C++ Compiler

HI

i want to use QAC static code analyser for msp430 compiler

im using ccs => v9.30

msp compiler => ti-cgt-msp430_18.12.4.LTS

may i know the procedure to create a compiler personality??

Can you provide us the cmd to invoke the compiler and the compiler flags

please find the Error log 

---------------------------------------------------------------------------------------------

Product:
qac

Personality Destination Directory:
D:\Personality

Personality Name:
ccs_msp430.p_c

Compiler:
"c:\ti\ccs930\ccs\tools\compiler\ti-cgt-msp430_18.12.4.LTS\lib\mklib.exe"

Cross Compiler:
No

Compiler Output Flag:
-o

Compiler Object File Generation Flag:


Compiler Define Flag:


Object File Extension:


Reduce File Size:
No

Compiler Header Directories:
C:\ti\ccs930\ccs\tools\compiler\ti-cgt-msp430_18.12.4.LTS\include\libcxx\ext
C:\ti\ccs930\ccs\tools\compiler\ti-cgt-msp430_18.12.4.LTS\include\libcxx\include
C:\ti\ccs930\ccs\tools\compiler\ti-cgt-msp430_18.12.4.LTS\include\libcxx\support\runtime
C:\ti\ccs930\ccs\tools\compiler\ti-cgt-msp430_18.12.4.LTS\include\libcxx\support\ti
C:\ti\ccs930\ccs\tools\compiler\ti-cgt-msp430_18.12.4.LTS\include\machine
C:\ti\ccs930\ccs\tools\compiler\ti-cgt-msp430_18.12.4.LTS\include\sys
C:\ti\ccs930\ccs\tools\compiler\ti-cgt-msp430_18.12.4.LTS\include\xlocale
C:\ti\ccs930\ccs\tools\compiler\ti-cgt-msp430_18.12.4.LTS\include

Compiler Defines:


Compiler Switches:


Compiler Command Order:
Exe Command
<exe file>
<src file>
Output Flag
Object Flag
Define Flag


Initialising Compiler Personality Generation ...
Can't discover object file extension, or the compile command failed to produce an object file of the specified extension!
Please check the specified compile flags if this command is malformed.


Command Attempted:
if exist pass.txt (

del pass.txt

)

"c:\ti\ccs930\ccs\tools\compiler\ti-cgt-msp430_18.12.4.LTS\lib\mklib.exe" typetest.c XXX

if %ERRORLEVEL% EQU 0 (

@echo Pass > pass.txt

)


---- stdout details ----

C:\PRQA\CPG-3.0.0\bin>if exist pass.txt (del pass.txt )


C:\PRQA\CPG-3.0.0\bin>"c:\ti\ccs930\ccs\tools\compiler\ti-cgt-msp430_18.12.4.LTS\lib\mklib.exe" typetest.c XXX


C:\PRQA\CPG-3.0.0\bin>if 1 EQU 0 ()


---- stderr details ----
>> ERROR: mklib: option --pattern or --all is required