2025-10-23 6:08 AM
STM32WB55
arm_rfft_fast_instance_f32 fft_instance;
arm_rfft_fast_init_f32(&fft_instance, NUM_SAMP);
I'm trying to use the rfft_fast function from the arm_math.h library
But when I compile I get...
I looked at the docs & many examples of the init function, the usage is always as above. Compiles fine if I comment out the init function but obviously that is of no use to me.
Solved! Go to Solution.
2025-10-23 6:13 AM - edited 2025-10-23 6:14 AM
You can't call functions directly like this at the global scope. This needs to be within a function such as main().
If that's not it, include the full custom_app.c file that throws this error.
2025-10-23 6:13 AM - edited 2025-10-23 6:14 AM
You can't call functions directly like this at the global scope. This needs to be within a function such as main().
If that's not it, include the full custom_app.c file that throws this error.
2025-10-23 6:14 AM
Thanks, getting lost in my own code here...