Skip to content

Provide error message when trying to compile this library for the M4 core. #22

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

Merged
merged 1 commit into from
Mar 1, 2023

Conversation

aentinger
Copy link
Contributor

No description provided.

@aentinger aentinger added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Mar 1, 2023
@aentinger aentinger self-assigned this Mar 1, 2023
@aentinger aentinger merged commit 9593747 into main Mar 1, 2023
@aentinger aentinger deleted the error-on-m4 branch March 1, 2023 08:25
@@ -24,6 +24,10 @@
* INCLUDE
**************************************************************************************/

#ifdef ARDUINO_PORTENTA_H7_M4
# error "This library on works on the M7 core of any STM32H747 based board (Portenta H7, Giga, X8)."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

X8 target runs on M4, are we sure it works there too?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mistake in my thinking. I thought it doesn't work there, but then had a logic toogle in my brain. Will fix it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hang on, not actually a mistake, but a bit redundant, since you can't target the M7 on the H747 of the X8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants