Error[Li005]: no definition for "__set_PRIMASK" [referenced from E:\Freescale Test\kl04_iar\Release\Obj\Cpu.o]

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

Error[Li005]: no definition for "__set_PRIMASK" [referenced from E:\Freescale Test\kl04_iar\Release\Obj\Cpu.o]

跳至解决方案
6,785 次查看
thoomanwang
Contributor V

error.png

ProcessorExpert generated files , use Iar6.5 compile no error in debug mode , in release mode error.

0 项奖励
回复
1 解答
2,971 次查看
vfilip
NXP Employee
NXP Employee

Hello,

the __set_PRIMASK is intrinsic function of IAR compiler. Could you pelase double-check that you have correctly selected the IAR compiler also for Release configuration? The compiler selection property is in CPU component on Build Options tab.

Details attached.

If the problem persist could you please post here your project?

best regards

Vojtech Filip

Processor Expert Support Team


在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,972 次查看
vfilip
NXP Employee
NXP Employee

Hello,

the __set_PRIMASK is intrinsic function of IAR compiler. Could you pelase double-check that you have correctly selected the IAR compiler also for Release configuration? The compiler selection property is in CPU component on Build Options tab.

Details attached.

If the problem persist could you please post here your project?

best regards

Vojtech Filip

Processor Expert Support Team


0 项奖励
回复
2,971 次查看
thoomanwang
Contributor V

Thank you ! ! !
I forgot to reset the MCU release mode , so the system uses the default MCU, resulting in an error

0 项奖励
回复