ERROR #29: EXPECTED AN EXPRESSION (MPC57xx__Interrupt_Init.c) SAMPLES CODE

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

ERROR #29: EXPECTED AN EXPRESSION (MPC57xx__Interrupt_Init.c) SAMPLES CODE

跳至解决方案
2,378 次查看
tmduybk
Contributor II

When I using GreenHills to build file hello+pll_Z2_3 (samples code) , I get an error as Subject.

It's occur in file MPC57xx__Interrupt_Init.c, and detail as below:

"..\hello+pll_Z2_3\src\MPC57xx__Interrupt_Init.c", line 102: error #29:
expected an expression
uint16_t coreId = GetCoreID ();
                            ^

"..\hello+pll_Z2_3\src\MPC57xx__Interrupt_Init.c", line 137: error #29:
expected an expression
uint16_t coreId = GetCoreID ();
                            ^

Help me, Thanks !!

0 项奖励
回复
1 解答
2,337 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

I see.

 

This example package expect using of S32 Design Studio IDE.

 

For GHS compiler we have prepared lot of examples here on the community space:

https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/MPC5-software-example-list/ta-p/1102445

 

Hope it helps

在原帖中查看解决方案

5 回复数
2,366 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, could you point out where the example is taken from?

0 项奖励
回复
2,351 次查看
tmduybk
Contributor II
0 项奖励
回复
2,338 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

I see.

 

This example package expect using of S32 Design Studio IDE.

 

For GHS compiler we have prepared lot of examples here on the community space:

https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/MPC5-software-example-list/ta-p/1102445

 

Hope it helps

2,326 次查看
tmduybk
Contributor II

Hi,

I download Example MPC5748G Flash RW GHS614 from your link.

But when I using command line "gbuild -top MPC5748G-Flash_RW-GHS614.gpj", cmd show Error:

[elxr] (error #21) cannot find library -lmulti

I attach image of an error. Thank you !

0 项奖励
回复
2,299 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Unfortunately I cannot answer to this. I can open it correctly on my side. I have installed MULTI v7.1.4

Please contact GreenHills support:

https://support.ghs.com/