-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when building DSP library #1130
Comments
@Gostas f16 is not always well supported depending on the core / compiler so there is some logic to enable / disable it. But it looks like this logic is missing in arm_cfft_radix4_init_f16.c. There should be a test on ARM_FLOAT16_SUPPORTED with #if/#else to disable or enable the compilation. This flag is disabled in your compilation so the instance structure and tables for this f16 algorithm are not compiled but the function is compiled although it should not. Note that:
|
Thanks for the explanation @christophe0606 . I added the guard condition in arm_cfft_radix4_init_f16.c and was able to get it to build, because I wasn't sure how to remove the f16 files from the build. |
Better control of the f16 build.
Great, thanks! |
I am trying to build the DSP library for the cortex-m4 cpu. The compiler I am using is arm-none-eabi-gcc 9.2.1 (9-2019-q4-0ubuntu1). After running make VERBOSE=1, I am getting the following error:
/home/kpaps/Documents/CMSIS_5/CMSIS/DSP/Source/TransformFunctions/arm_cfft_radix4_init_f16.c:70:3: error: unknown type name 'arm_cfft_radix4_instance_f16' 70 | arm_cfft_radix4_instance_f16 * S,
The text was updated successfully, but these errors were encountered: