Hello,
I am using code composer studio 6 and I want to use trigonometric and inverse trigonometric function in my project. Controller - MSP430FR5739
I want to use MSP430 floating point library, so I included msp430_math.h header but I am not able to compile.
I am getting the following error
**** Build of configuration Debug for project math_test_math ****
"c:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: ../main.c'
'Invoking: MSP430 Compiler'
"c:/ti/ccsv6/tools/compiler/msp430_4.3.1/bin/cl430" -vmspx --abi=eabi --code_model=small --data_model=small --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/ccs_base/msp430/lib/5xx_6xx_FRxx" --include_path="c:/ti/ccsv6/tools/compiler/msp430_4.3.1/include" --advice:power="all" -g --define=__MSP430FR5739__ --diag_warning=225 --display_error_number --diag_wrap=off --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="main.pp" "../main.c"
"../main.c", line 2: fatal error #1965: cannot open source file "msp430_math.h"
1 catastrophic error detected in the compilation of "../main.c".
>> Compilation failure
Compilation terminated.
gmake: *** [main.obj] Error 1
gmake: Target `all' not remade because of errors.
- I have tried to compile in CCS v5 also but no luck.
- libmath.a is included in the "include library file or command file as input(--library,-l)" tab in properties
Please let me know if any specific setting are to be done in order to compile.
Thank you very much :-)
Regards,
Pradeep