Compile error about lwip_MPC5748G demo

cancel
Showing results for 
Search instead for 
Did you mean: 

Compile error about lwip_MPC5748G demo

343 Views
Contributor I

I try to use lwip_mpc5748g demo_app to new a project.The S32 design studio version is 2017.R1. The steps is as follow:

1.Create S32DS Project from lwip_mpc5748g

2.use default parameters to generate PE code;

3.compile the project.

Then there are some compile errors:
1.'configMINIMAL_STACK_SIZE' undeclared (first use in this function) test.c /lwip_mpc5748g/Sources line 400 C/C++ Problem

2.Description Resource Path Location Type
'configTICK_RATE_HZ' undeclared (first use in this function) portmacro.h /lwip_mpc5748g/SDK/rtos/FreeRTOS_C55/Source/portable/GCC/PowerPC_Z4 line 88 C/C++ Problem

3.Description Resource Path Location Type
make: *** [SDK/rtos/osif/subdir.mk:35: SDK/rtos/osif/osif_freertos.o] Error 1 lwip_mpc5748g C/C++ Problem

4.Description Resource Path Location Type
make: *** [Sources/arch/subdir.mk:35: Sources/arch/sys_arch.o] Error 1 lwip_mpc5748g C/C++ Problem

5.Description Resource Path Location Type
make: *** [Sources/subdir.mk:50: Sources/test.o] Error 1 lwip_mpc5748g C/C++ Problem

6.Description Resource Path Location Type
make: *** Waiting for unfinished jobs.... lwip_mpc5748g C/C++ Problem

7.Description Resource Path Location Type
Symbol 'configMINIMAL_STACK_SIZE' could not be resolved test.c /lwip_mpc5748g/Sources line 400 Semantic Error

What's the problem?hope for some advice.Thanks.

0 Kudos
3 Replies

7 Views
NXP Employee
NXP Employee

That error comes from FreeRTOS.

Normally, lwip_mpc5748g comes with FreeRTOS enabled by default.

Could you please check your example from which SDK version?

0 Kudos

7 Views
NXP Employee
NXP Employee

Hello, 

which operating system are you using? I tried the lwip example - and got only couple warnings - no error. 

Jiri

0 Kudos

7 Views
Contributor I

Windows 7, 64bits。

0 Kudos