-
Notifications
You must be signed in to change notification settings - Fork 221
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
IAR support #116
Comments
IAR support is needed for Pelion Device Management Client project (ARM) |
It looks like the cited intrinsics above are ARM specific rather than general purpose IAR ones. We can include these but will have to check the IAR target is ARM. I am slightly concerned with memory alignment however as I can't off the top of my head say that the existing conversions operate on 32 bit word aligned data. A cursory glance at the ARM manual didn't reveal to me if these instructions have alignment restrictions or not. |
@TaniaMirzin @jenia81 Can you confirm if the following addition to compiler.h works correctly in your environment:
|
@bryan-hunt we need to include |
@bryan-hunt If its ok, when do you plan to open aPR? or commit it? |
@TaniaMirzin Thank you for reviewing this. A release is being prepared currently so you should see it next week. |
Should be resolved in v3.1.0 (20200205) |
We've run into an issue when compiling with IAR using v3.1.0, the error message is |
@dgreen-arm This is an application file that isn't part of the main library. I would not expect you to have a use case for it. We'll make sure it gets updated - but definitely you shouldn't be including it in your application if you're not using it. |
I've set these to not be included and the application is building fine with IAR now. |
Hi, I see that atca_compiler.h doesn't supports IAR compiler.
IAR uses __REV,__REV16, __REVSH and __RBIT instead of swap functions.
Do you plan to support IAR?
Except this lack of IAR defines, do you have another reasons/issues not to support it?
The text was updated successfully, but these errors were encountered: