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.

 

Newest Forum Posts

  1. Nucleo-144 TCP Problems by mklee, 2019-03-22 19:25
  2. CubeMX function pack development by ajcurtis84, 2019-03-22 18:59
  3. STM32CubeMX LWIP not working by leflingue, 2019-03-22 12:22
  4. STM32CubeMX LWIP not working by matsjuhlin, 2019-03-22 09:13
  5. STM32F746-Discovery by stanandrzej, 2019-03-21 12:41
  6. System Workbench takes up to five minutes to load by Servant, 2019-03-21 02:39
  7. How to use multiple ST boards simultaneously by Kevarek, 2019-03-20 19:21
  8. How to debug STM32f103c8t6 with stm link utility by jcliff, 2019-03-20 15:36
  9. PWM signal Output Malfunctionment by Michael zeinoun, 2019-03-19 11:20
  10. What different WINDOWS MAC OS by actionprog, 2019-03-19 06:08

Last-Modified Blogs