Skip to main content
jdsotack
Associate II
June 18, 2012
Question

Building CMSIS DSP_LIB for GCC

  • June 18, 2012
  • 6 replies
  • 2270 views
Posted on June 18, 2012 at 13:32

I am using the STM32F4 family with Atollic TrueStudio and would like to use the CMIS DSP_Lib for my application.    The STM32F4xx_DSP_StdPeriph_Lib_V1.0.1 directory as provided by ST does not appear to have pre-built GCC libraries.

There is an ARM directory with files such as arm_cortexM4lf_math.lib but the GCC directory is empty.  Under the source directory there is a GCC folder with uvproj files but I am not using Kiel.  Any advice for building GCC binaries view Atollic TrueStudio would be greatly appreciated.  The libraries Attolic provides are of the lib*.a variety.

John
    This topic has been closed for replies.

    6 replies

    Tesla DeLorean
    Guru
    June 18, 2012
    Posted on June 18, 2012 at 17:14

    Create a project, and rebuild using the tools of your choice.

    You are supposedly able to build this with Keil (Evaluation) using GNU/GCC, presumably Code Sourcery. This proved to be more of a battle than I cared to fight, so I just built it with Yagarto 4.6.2, using a batch file.

    Attached is the build from DSP V1.0.0, would need to download the newer DSP Library.

    ________________

    Attachments :

    libarm_cortexM4lf_math.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtTd&d=%2Fa%2F0X0000000aQV%2FBaP1PKa4r_ZhNO07CVPH4w7aFclBosGyyGh686kkUvw&asPdf=false
    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Tesla DeLorean
    Guru
    June 18, 2012
    Posted on June 18, 2012 at 18:18

    Attached libraries built from V1.0.1

    ________________

    Attachments :

    libarm_cortexM4_math_V1.0.1.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtQ2&d=%2Fa%2F0X0000000aPj%2FV53blwXRlopjTdw4KzoRmRZ8cUrgj37EA9K3oTPO83k&asPdf=false
    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    johnsotack9
    Associate III
    June 18, 2012
    Posted on June 18, 2012 at 20:42

    Thank you.  I will try the attachment.  Hopefully it is compatible with the discovery board.

    John

    Tesla DeLorean
    Guru
    June 18, 2012
    Posted on June 18, 2012 at 20:55

    Hopefully it is compatible with the discovery board.

    I would imagine that it's board agnostic, it's all about the CPU. Make sure you enable/initialize the FPU in your startup code.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    nedelcu
    Associate II
    January 10, 2014
    Posted on January 10, 2014 at 23:59

    From: clive1

    Posted: Monday, June 18, 2012 5:14 PM

    Subject: Building CMSIS DSP_LIB for GCC

    Create a project, and rebuild using the tools of your choice.

    You are supposedly able to build this with Keil (Evaluation) using GNU/GCC, presumably Code Sourcery. This proved to be more of a battle than I cared to fight, so I just built it with Yagarto 4.6.2, using a batch file.

    Attached is the build from DSP V1.0.0, would need to download the newer DSP Library.

    Tesla DeLorean
    Guru
    January 12, 2014
    Posted on January 12, 2014 at 02:11

    Was there a question there somewhere?

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..