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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
5,156 Views
thoomanwang
Contributor V

error.png

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

0 Kudos
1 Solution
1,343 Views
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


View solution in original post

0 Kudos
2 Replies
1,344 Views
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 Kudos
1,343 Views
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 Kudos