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,645件の閲覧回数
thoomanwang
Contributor V

error.png

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

0 件の賞賛
返信
1 解決策
2,831件の閲覧回数
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,832件の閲覧回数
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,831件の閲覧回数
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 件の賞賛
返信