How to Include DSP library in True Studio

Discussions concerning TrueSTUDIO for STM32 9.0.0 and later versions.

Moderators: Markus Girdland, Mattias Norlander

innovinity
Posts: 1
Joined: Wed Aug 28, 2019 10:52 pm

How to Include DSP library in True Studio

Postby innovinity » Wed Aug 28, 2019 11:01 pm

Hi,

I am using STM32FF407 and created a project in True Studio to work with the FFT and Matrix functions. I managed to include the arm_math.h, added ARM_MATH_CM4 as well as _FPU_PRESENT under C/C++ General -> Paths and Symbols -> Symbols.

My problem is I cannot use any DSP functions when calling from main, I get an error such as: undefined reference to `arm_mat_init_f32'

Do I need to copy some files from the main DSP repo to my project, do I need both the include and source files.

Please, can someone help me, I have been banging my head against this for a while now? Thanks in advance.

frank_ee
Posts: 103
Joined: Wed Apr 05, 2017 5:08 pm
Location: USA

Re: How to Include DSP library in True Studio

Postby frank_ee » Mon Sep 02, 2019 9:29 pm

Hello,

Did you put an #include for the relevant DSP header file in main?


Return to “TrueSTUDIO for STM32 discussions”

Who is online

Users browsing this forum: No registered users and 1 guest