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, 9 months ago.
mbed-dsp : header file missing(?) and error in api doxygen.
Missing header file?
Unless I missed something, I think there is a problem when we want to use
arm_cfft_f32() function instead of the deprecated
arm_cfft_radix4_... functions : we need to include
arm_const_structs.h but this file is not present in the dsp library.
The documentation in arm_cfft_f32.c contains an error in the sample code. As a result, the "Detailed description" at http://mbed.org/teams/mbed-official/code/mbed-dsp/docs/7a284390b0ce/group__ComplexFFT.html also reflects this error (missing &):
arm_cfft_f32(arm_cfft_sR_f32_len64, pSrc, 1, 1) should be arm_cfft_f32(&arm_cfft_sR_f32_len64, pSrc, 1, 1)
If this is updated, adding <code> </code> to the constants initialization example will improve readability (starts with const static arm_cfft_instance_f32 *S; ... )