Skip to content
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

Adds missing fully qualified arm arch version. #90

Merged

Conversation

mlondono74
Copy link
Contributor

When building for our platform got #error "unknown CPU architecture: ARM"
The fully qualified arm version for our platform which specifies the FPU is ARM_ARCH_7EM

$ echo | arm-none-eabi-gcc -dM -E -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 - | grep ARCH
#define __ARM_ARCH_PROFILE 77
#define __ARM_ARCH_ISA_THUMB 2
#define __ARM_ARCH 7
#define ARM_ARCH_7EM 1
#define ARM_ARCH_EXT_IDIV 1

This was missing in cpu.hpp, hence the PR.

@biojppm biojppm merged commit 0fb54e3 into biojppm:master Aug 31, 2022
@biojppm
Copy link
Owner

biojppm commented Aug 31, 2022

Thanks!

@mlondono74
Copy link
Contributor Author

Thank you for the great library!

@mlondono74 mlondono74 deleted the add-missing-target-ARM-arch-variant branch September 2, 2022 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants