Skip to main content
LLily.1
Associate II
April 21, 2020
Question

CMSIS FFT problem in stm32cubeIDE

  • April 21, 2020
  • 1 reply
  • 1758 views

I tried to compile and run arm_rfft_q15(STM32F030R8) .

In STM32CubeIDE, I'm using libarm_cortexM0l_math.a, the file is in 

STM32Cube_FW_F0_V1.11.0\Drivers\CMSIS\Lib\GCC, one of the functions 

I'm using is arm_rfft_q15. 

Build error: undefined reference to `arm_bitreversal_16'.The 

function that it is referring to is an assembly function found in 

the file arm_bitreversal2.s and I have made sure that file is in 

the source file.

I have added .h files which are in STM32Cube_FW_F0_V1.11.0\Drivers

\CMSIS\DSP\Include and the source files which are in 

STM32Cube_FW_F0_V1.11.0\Drivers\CMSIS\DSP\Source to my project .

Is there any solution?

This topic has been closed for replies.

1 reply

Ozone
Principal
April 21, 2020

I suppose you need to add the file arm_bitreversal2.S to your project.

It is usually found in ...\STM32Fxxx_DSP_StdPeriph_Lib_Vx.x.x\Libraries\CMSIS\DSP_Lib\Source\TransformFunctions\

Not sure about Cube, CubeIDE, and it's project management ...

LLily.1
LLily.1Author
Associate II
April 21, 2020

I had added the file arm_bitreversal2.S to my project.

Ozone
Principal
April 21, 2020

And ? Have you tried to translate it individually ?

Is your IDE picky with the file extension (*.s vs. *.S) ?

Have you checked the linker map, if symbols declared in arm_bitreversal2.S show up ?

I'm not a CubeIDE user.