Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 3 months ago.
"Error: Undefined symbol arm_rfft_fast_f32 "
Hello,
I am trying to add FFT capability to my project, however I'm not even able to compile basic FFT examples from the vault.
I'm using this as example: https://developer.mbed.org/users/ColoradoRob/code/Nucleo32_fft/file/947ee109759e/main.cpp
The header that's included in my projects: https://developer.mbed.org/users/mbed_official/code/mbed/file/a97add6d7e64/TARGET_NUCLEO_L476RG/arm_math.h
After compiling i get this error: Error: Undefined symbol arm_rfft_fast_init_f32 (referred from main.NUCLEO_L476RG.o).
My target MCU board is Nucleo-L476RG, however compiling for a stm32f7 target gives me the same error.
Simillar functions from arm_math.h cannot be compiled either, even though compiler notices them and takes care of proper arguments, etc.
I have no idea how to resolve this problem in mbed environment, and i'd really like to avoid switching to other IDE. Any Idea what seems to cause this error?
Cheers, Jacob.
1 Answer
7 years, 3 months ago.
Did you import this library into your project? https://developer.mbed.org/users/mbed_official/code/mbed-dsp/
In my projects that have used an fft I've not added any header files to my project directly, I've only ever imported that library which includes the arm_math.h file.