I am trying to use fft functions in my application code for particle-photon. I have managed to link my library to the cmsis prebuilt-library for Cortex M3. However when I call the actual fft function:
arm_rfft_q31( &rfftStruct, buffer, buffer); // in-place fft
The build fails with an undefined reference:
/u/susom/cmsis-integ/CMSIS/Lib/libarm_cortexM3l_math.a(arm_cfft_q31.o): In function `arm_cfft_q31':
/u/susom/cmsis-integ/CMSIS/DSP_Lib/TransformFunctions/arm_cfft_q31.c:139: undefined reference to `arm_bitreversal_32'
The arm_bitreversal_32 happens to be a routine implemented in assembly in enter link description here
Any idea as to how to overcome this issue.