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.

Error when compiling in CCS

Other Parts Discussed in Thread: TM4C123GH6PM

I have just installed CCS 6.1 on a laptop with Win7. I'am following the TM4C123G_LaunchPad_Workshop and I can't even build the first excersice. I get - 

**** Build of configuration Debug for project lab2 ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: ../main.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=ti_arm9_abi --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/include" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573" -g --gcc --define=ccs="ccs" --define=PART_TM4C123GH6PM --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="main.pp" "../main.c"
error #24018-D: Option --float_support=FPv4SPD16 is not valid without --abi=eabi
gmake: *** [main.obj] Error 1
'Building file: ../tm4c123gh6pm_startup_ccs.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=ti_arm9_abi --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/include" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573" -g --gcc --define=ccs="ccs" --define=PART_TM4C123GH6PM --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="tm4c123gh6pm_startup_ccs.pp" "../tm4c123gh6pm_startup_ccs.c"
error #24018-D: Option --float_support=FPv4SPD16 is not valid without --abi=eabi
gmake: *** [tm4c123gh6pm_startup_ccs.obj] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

I have searched for hours now and can't solve this!!! I think that the compiler doesn't even come trough the preprocessor.

  • Hi Aake,

    TM4C123 Launchpad Workshop was made years ago and not updated to the current Tivaware and Tiva Launchpad Version. If you are not familiar with what changes need to be made, you will encounter compile errors.

    I suggest you use a working example program like "hello" at Tivaware for Tiva Launcpad as base for learning the Laboratory Exercises. Add the code from Laboratory Exercise to "hello" example program.

    - kel