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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
2,377件の閲覧回数
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,336件の閲覧回数
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,365件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信
2,350件の閲覧回数
tmduybk
Contributor II
0 件の賞賛
返信
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

2,325件の閲覧回数
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,298件の閲覧回数
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/