-
Notifications
You must be signed in to change notification settings - Fork 17
Work around ARM and IAR optimization issue #48
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| { | ||
| "GCC_ARM": {}, | ||
| "ARMC6": { | ||
| "common": ["-O1"] | ||
| }, | ||
| "ARM": { | ||
| "common": ["-O1"] | ||
| }, | ||
| "uARM": { | ||
| "common": ["-O1"] | ||
| }, | ||
| "IAR": { | ||
| "common": ["-Ol"] | ||
| } | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please add (Arguably the fact that
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was expecting the user not to pass the profile option if they didn't need the workaround. I've added all toolchains, since there is at least one user who wanted to use the profile options on non-affected toolchains. |
||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This causes an error with IAR:
[ERROR] Command line error: Option -O can only occur onceThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bah, so we need a standalone profile. I am not a fan of maintaining that. I'll see if we can take a better approach.