Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

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. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  2. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  3. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  4. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  5. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  6. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  8. Build a project in "release" mode by tang, 2025-02-20 10:36
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35
  10. Fail to debug in Win 11 C/C++ by mortenlund, 2024-12-26 20:27

Last-Modified Blogs