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/TM4C1294NCPDT: Unsuccessful At Building Latest CMSIS DSP Library As Per SPMA041G

Part Number: TM4C1294NCPDT


Tool/software: Code Composer Studio

Not able to build the latest CMSIS DSP library following "Using the CMSIS DSP Library in Code Composer Studio™ for TM4C MCUs" (SPMA041G) application report.  The errors are many as shown below from what I can tell it seems as if the declarations between CMSIS arm_math.h and TI's -maybe outdated- arm_math.h patch are conflicting.

CMSIS Version: 5.5.1

CCS Version : 8.3

Compiler Version: TIv18.1.5.LTS

I have merged the TI collateral patch files from (spma041g.zip) into the appropriate CMSIS directories which have changed since the latest published SPMA041 and I also modified the include directories to also accommodate the new CMSIS file structure as shown below.

Is there an easy work around for this?  Any help would be greatly appreciated also are there any plans to update SPMA041G to include the newer versions of CMSIS?

  • Hello mpcostabile,

    One of our community members posted a comprehensive guide for how to get CMSIS 5.1.1 working again, can you see if those steps still help for 5.5.1? The post outlining what needs to be done is this one: e2e.ti.com/.../2365916
  • Ralph
    Thanks for the quick response I have crossed that post however in that case the library does not seem to be built in CCS. I am trying to follow SPMA041G where the first major step is to build the CMSIS DSP Library in Code Composer Studio. Once that library is built it is then used in the example projects following the CCS build of the CMSIS DSP library process of the same application report. The reason for building in CCS as stated in that application report is:

    "Building the DSP Library in Code Composer Studio v6.1
    This section details the steps required to build the ARM CMSIS DSP library from source. It is possible to
    skip this section by using a precompiled .lib (such as one of those found in CMSIS-
    <version>/CMSIS/Lib/ARM or CMSIS-<version>/CMSIS/Lib/GCC), but doing so requires changing the
    Code Composer Studio compiler settings to call floating-point functions in a way that is different from the
    default Code Composer Studio settings. This requires rebuilding all .lib files that are used in a project with
    the DSP libraries, most notably the TivaWare™ for C Series Software driverlib, grlib, and usblib libraries.
    This method is not recommended and the process is not described in this application report. Also this
    application report has been updated for the support of CMSIS release r4p2 onwards."

    Which is definitely something I would like to avoid, it seems that the referenced post you linked the person was using one of the precompiled libraries so I do not think this resolves my issue, unless I am missing something or something has changed in regard to the quoted paragraph above. Any new info would be greatly appreciated.

    Thanks,
  • Hello mpcostabile,

    Unfortunately we don't have anyone with knowledge of how to use CMSIS on the team anymore, so Bruno's post was our primary means to help with this issue. So far everyone else who looked into the steps there were able to make it work. But if that really isn't a solution anymore then I am afraid we won't be able to provide an answer on this topic.
  • I have faced the same problem, Petr Storozhev