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.

CCS/EK-TM4C123GXL: Invalid Compiler option

Part Number: EK-TM4C123GXL
Other Parts Discussed in Thread: TM4C123GH6PM

Tool/software: Code Composer Studio

Hi,

I am compiling a project with ARM TIv18.12.4.LTS and get the error Invalid Compiler Option –ua ignored.

The flags are these:

-mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178" --advice:power=all --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=TARGET_IS_TM4C123_RB1 -g --c99 --c++14 --strict_ansi --cpp_default --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi –ua

I don’t know where to go to remove the –ua option or why it’s there at all. It’s not that important but I’d like to keep it as clean as possible as I gradually build up the project.

Thanks

  • Hello,

    -ua is not a valid compiler option. I'm not sure how it got added to your build settings. Please provide your project meta files so i can investigate. The files I need are the .project, .cproject, and .ccsproject files inside your project folder. Please zip up and attach to this thread.

    Thanks

    ki

  • It could be the --ual (use unified assembly language) option that was somehow inadvertently edited. Most out of the box example projects in TivaWare include the --ual option. 

    To remove it you can click on Edit Flags in the Compiler Properties. If you wish to re-add the --ual option, you can select it under Compiler->Advanced Options->Assembler Options.

  • Oh yes many thanks that’s exactly how it would have happened and the solution was staring me in the face. Thanks.