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

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

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

Jump to solution
2,323 Views
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 Kudos
1 Solution
2,282 Views
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

View solution in original post

5 Replies
2,311 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

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

0 Kudos
2,296 Views
tmduybk
Contributor II
0 Kudos
2,283 Views
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,271 Views
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 Kudos
2,244 Views
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/