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.


Newest Forum Posts

  1. Problem programming chip by JimELi, 2019-03-25 21:26
  2. CubeMT code, generated for SW4STM32 by market14, 2019-03-25 03:57
  3. Problem verifing and downloading code by strohmas, 2019-03-24 23:16
  4. Nucleo-144 TCP Problems by mklee, 2019-03-22 19:25
  5. CubeMX function pack development by ajcurtis84, 2019-03-22 18:59
  6. STM32CubeMX LWIP not working by leflingue, 2019-03-22 12:22
  7. STM32CubeMX LWIP not working by matsjuhlin, 2019-03-22 09:13
  8. STM32F746-Discovery by stanandrzej, 2019-03-21 12:41
  9. System Workbench takes up to five minutes to load by Servant, 2019-03-21 02:39
  10. How to use multiple ST boards simultaneously by Kevarek, 2019-03-20 19:21

Last-Modified Blogs