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

rtx 5 supported iar version #201

Closed
YarivCol opened this Issue May 18, 2017 · 6 comments

Comments

Projects
None yet
2 participants
@YarivCol

YarivCol commented May 18, 2017

what is the minimum version of iar that support compiling rtx 5 ?

@JonatanAntoni

This comment has been minimized.

Member

JonatanAntoni commented May 19, 2017

Hi @YarivCol,
with the current versions of IAR 7 and 8 it should work, basically.

It might depend on the exact device (i.e. core class) you want to compile for.
The only hard requirement is that it provides recent CMSIS5 headers, so please refer to the IAR documentation.

Do you have any special requirements on versions and targets you want to use?

Regards,
Jonatan

@JonatanAntoni JonatanAntoni self-assigned this May 19, 2017

@YarivCol

This comment has been minimized.

YarivCol commented May 19, 2017

i am trying to compile rtx 5 in iar v7.5 to stm32f407g, my problem seems to be the usage of attribute around the code .
the svc defines in rtx_core_cm.h errors about syntax errors and missing ;
also attribute((section("TEMP"))); results in compile error.

@JonatanAntoni JonatanAntoni added review and removed question labels May 19, 2017

@JonatanAntoni

This comment has been minimized.

Member

JonatanAntoni commented May 19, 2017

We had various issues with RTX and IAR in the past, i.e. #152 and #149. Using IAR EWARM 7.80.4 it should work without any workaround.
The usage of attribute((force_inline)) might be solved by using IAR _Pragma instead.
Would you mind to try creating a fix that works for you and let us know, i.e. by issuing a pull request? That would be very helpful.

@JonatanAntoni

This comment has been minimized.

Member

JonatanAntoni commented May 29, 2017

Hi @YarivCol,
Did you have the chance to either try using IAR 7.80.4 or modifying the pragmas?
Does one of these solutions work for you?
I would appreciate a final feedback so we might close this issue.

@JonatanAntoni JonatanAntoni added question and removed review labels May 29, 2017

@YarivCol

This comment has been minimized.

YarivCol commented Jun 6, 2017

hi,
I compiled rtx with IAR 7.7 successfully!.
I didn't look at the release notes between 7.5 to 7.7 but i think they updated cmsis_iar.h along the way.

thanks for the help and quick response.

@JonatanAntoni JonatanAntoni added DONE and removed question labels Jun 7, 2017

@JonatanAntoni

This comment has been minimized.

Member

JonatanAntoni commented Jul 17, 2017

@YarivCol, I am closing this issue due to no further questions to be discussed. Please feel free to reopen if you still have any concerns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment