Loading...
 

System Workbench for STM32


Error using arm_math.h for STM32l476G-Discovery

I’m fairly new to System Workbench/eclipse and this is the first time I’ve posted on this forum so bare with me if this is a daft question.

So(for a STM32L476G-DISCOVERY board) I’m trying to use several arm_math.h functions for the purpose of CFFTs, but when I try to build project it tells me:

C:\Users\Sam\workspace\Sem1AdcProg\Debug/../src/FFT.c:55: undefined reference to `arm_cfft_f32’
C:\Users\Sam\workspace\Sem1AdcProg\Debug/../src/FFT.c:60: undefined reference to `arm_cmplx_mag_f32’
C:\Users\Sam\workspace\Sem1AdcProg\Debug/../src/FFT.c:77: undefined reference to `arm_max_f32’
C:\Users\Sam\workspace\Sem1AdcProg\Debug/../src/FFT.c:85: undefined reference to `arm_mean_f32’

This is despite me including “#include “arm_math.h” and “#include “arm_const_structs.h” in the relevant source/header files and when I ‘open declaration’ on the relevant errors messages it does take me straight to the arm_math.h file, so I assume that means I’ve included it properly?
I’ve been trying to fix it myself for ages now and I’m absolutely stuck, any ideas? Apologies if this is the wrong place to post it.