Other Parts Discussed in Thread: MSP430F5529
Tool/software: Code Composer Studio
Got this error. Odd thing is that I've compiled this same file in other projects and it's worked fine. I created a new project from scratch with just the offending file and was able to duplicate the error.
CCS Version: 6.1.1.00022
Steps to reproduce:
1. Create new MSP430F5529 project, with main.c
2. In project hierarchy, create new directory named "Common"
3. Copy my custom printf.c and printf.h into this directory in the file system
4. Attempt build. It fails with the error below.
Zip file containing the CCS project is attached.
**** Build of configuration Debug for project BTBP ****
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: ../Common/printf.c'
'Invoking: MSP430 Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.5/bin/cl430" -vmspx --abi=eabi --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.5/include" --advice:power=all -g --define=__MSP430F5529__ --define=MSP_EXP430F5529LP_BTBP --diag_warning=225 --display_error_number --diag_wrap=off --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="Common/printf.pp" --obj_directory="Common" "../Common/printf.c"
>> ../Common/printf.c, line 126: INTERNAL ERROR: Decomposition error