7ULP power_mode_switch not building with IAR

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

7ULP power_mode_switch not building with IAR

跳至解决方案
4,594 次查看
GuillaumeAudirac
NXP Employee
NXP Employee

Hi,

I downloaded the EVK SDK for the i.MX7ULP (SDK_2.7.0_EVK-MCIMX7ULP.zip). I currently build the power_mode_switch example with cmake as it seems to fail when using IAR.

Do you know any reason for that?

I am using the IAR IDE 8.11.1.13272 and it fails on some preprocessing error directives:

#error intrinsics.h is already included previously!

Is this just an issue with the SDK package?

Thanks.

Guillaume Audirac
标签 (1)
标记 (1)
0 项奖励
回复
1 解答
4,488 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Guillaume

reason may be old IAR version as described in Release Notes,

I tried with IAR 8.20 it builds fine

pastedImage_1.jpg

pastedImage_2.jpg

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

2 回复数
4,489 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Guillaume

reason may be old IAR version as described in Release Notes,

I tried with IAR 8.20 it builds fine

pastedImage_1.jpg

pastedImage_2.jpg

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

4,488 次查看
GuillaumeAudirac
NXP Employee
NXP Employee

You are absolutely right. I had not checked as it was working fine for other examples.

Thanks a lot!

Guillaume Audirac
0 项奖励
回复