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 Unrecognized COMPILER! in CCS2011 5.2.0.00069

Other Parts Discussed in Thread: LM3S3748

The blow thread posts this issue in earliear CCS version.

http://e2e.ti.com/support/microcontrollers/stellaris_arm_cortex-m3_microcontroller/f/476/t/67394.aspx

Mr. Wilson has provide solution in it.

Now I met this problem in CCS2012. But CCS 2012 (Version 5.2.0.00069) has changed quite a lot. The setting interface are changed now. I can not follow the instruction to change. However, the link of the guide and introduction post in Mr. Wilson are not exist now. So could anyone please help me on 2012 configuration?

However, in 2012, it reports error:  "C:\StellarisWare\driverlib\ccs\Debug\driverlib.lib" the folder structure of StellarisWare 2012 are changed. Now we have ccs-csm3, ccs-cm4f, ewarm-cm3,..etc. which path should I choose?

Thanks for your help!

  • Jimmy,

      Assuming you are still using the lm3s9b92, this part has a Cortex-M3 processor so you need to use the "-cm3" versions of each of the StellarisWare libraries (driverlib-cm3, grlib-cm3 and usblib-cm3).

      Reading the thread you mention, I assume you are trying to set a symbol in your build environment? You can do this from the project properties window (right click your project in the Project Explorer then select "Properties"). Open the "C/C++ Build" tab then click "Settings". On the "Tool Settings" tab you will see "Symbols" under the compiler section in the list on the left of the tab. If you need to set the libraries to include, you can do this in the linker list under "Libraries".

  • Thank you Dave. I am using LM3S3748. I will following your instructions.

    For the build enviroment configuration, my CCS seems different. There is no C/C++ build options in the properties window.

    Please see my attached photo.

  • The options you see in this window will change depending upon the type of project you are using. I was looking at a project for a PC tool so my options weren't the same. Looking at the list in your picture, I would suggest trying "Predefined Symbols".

    By the way, the help information for CCS is pretty good. Access this from the Help menu and choose "Help Contents". I searched for "C symbols" and found some helpful information. Again, though, this information seems to be general and not specific to the ARM compiler.

  • Thank you Dave. The problem is solved.

    For my issue, I have done following changes:

    1. CCS Build->TMS470Compiler->language options-> Enable support for GCC extensions.

    2. CCS Build-> TMS470 Linker-> File Search Path, updated to

    "C:\StellarisWare\driverlib\ccs-cm3\Debug\driverlib-cm3.lib"
    "C:\StellarisWare\grlib\ccs-cm3\Debug\grlib-cm3.lib"
    "C:\StellarisWare\usblib\ccs-cm3\Debug\usblib-cm3.lib"

    3. C/C++ Build->Settings->Advance Options->Predefined Symbols, add:

    css

    TARGET_IS_DUSTDEVIL_RA0

    PART_LM3S3748

    Then the compilation can pass.

    thanks!

  • This is good news - I'm glad you are up and running now!