-
Notifications
You must be signed in to change notification settings - Fork 149
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
Intrinsic definition collision for ARMv7-A/Cortex-A9 #220
Comments
@stellar-aria You can't build by just defining
|
Above flags are for |
I have made a commit for this issue. It should solve the problem with CMSIS Core if you build with above defines. |
Yes, removing the CMSIS Core reference and adding HOST ON worked, thanks so much! |
Compiler: GCC 13.2.1 (Arm GNU Toolchain)
Target: Cortex-A9 (
-mcpu=cortex-a9 -mfpu=neon
) bare metal, no OSFlags:
-DNEON
With the addition of #219, building now fails due to redefinition of certain intrinsics and macros previously defined at CMSIS/Core/Incclude/cmsis_gcc.h:938. There's a note at
CMSIS-DSP/Include/arm_math_types.h
Lines 115 to 116 in 4404d3e
Attempting to build without providing an inclusion against
CMSIS/Core/Include
instead raises a different error: "fatal error: cmsis_compiler.h: No such file or directory".I assume that Core must have its includes available for the DSP module, but doing so creates the collision. Deleting the check against
ARM_MATH_NEON
inarm_math_types.h
removes the issue.The text was updated successfully, but these errors were encountered: