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


DSP functions on System Workbench and CubeMX

My board is STM32F429I-DISCO. In my case program compiles after:

1) I add arm_common_tables.h, arm_const_struct.h, arm_math.h to project (eg. to “inc” directory)
2) I add arm_bitreversal2.S, arm_bitreversal.c, arm_cfft_f32.c, arm_cfft_radix8_f32.c, arm_cmplx_mag_f32.c, arm_common_tables.c, arm_const_structs.c, arm_max_f32.c (eg. to “src” directory)
3) I add ARM_MATH_CM4, __FSU_PRESENT=1 to preprocessor http://s8.postimg.org/s4hxlhzqt/macros.pngQuestion
4) (optional but recommended I guess) I remove old arm_common_tables.h, arm_const_struct.h, arm_math.h from CMSIS/core folder

Files from points 1), 2) were taken from https://github.com/MaJerle/stm32f429Question (00-STM32F4xx_STANDARD_PERIPHERAL_DRIVERS/CMSIS)

In my case linking to arm_cortexM4lf_math library produced errors and was needless.

Many thanks to @elgarbe, he gave me the clue hereQuestion to try adding source files and compile them instead of linking do the library.

Cheers