S32G2 PFE_demo code missing header files

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

S32G2 PFE_demo code missing header files

跳至解决方案
27,149 次查看
viswa_kondapall
Contributor IV

Hi,

I am working on PFE, Lwip: PFE-demo code which is M7 RTD-PFE-Demo code. Code not compiling with missing header file. Its NXP SW bundle -- why header files are missing and how to get the files. -- With errors how to build the software.????????????

C:/S32-DS-Workspace/lwip_s32g274a/stacks/tcpip/code/ports/platform/generic/gcc/setting/arch/cc.h:37:10: fatal error: Dev'assert.h: No such file or directory
37 | #include "Devassert.h"
| ^~~~~~~~~~~~~
compilation terminated.
make: *** [stacks/tcpip/lwip/src/netif/ppp/polarssl/subdir.mk:32: stacks/tcpip/lwip/src/netif/ppp/polarssl/arc4.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from ../stacks/tcpip/lwip/src/include/lwip/arch.h:48,
from ../stacks/tcpip/lwip/src/include/lwip/debug.h:40,
from ../stacks/tcpip/lwip/src/include/lwip/opt.h:52,
from ../stacks/tcpip/lwip/src/include/netif/ppp/ppp_opts.h:31,
from ../stacks/tcpip/lwip/src/netif/ppp/polarssl/des.c:42:
C:/S32-DS-Workspace/lwip_s32g274a/stacks/tcpip/code/ports/platform/generic/gcc/setting/arch/cc.h:37:10: fatal error: Devassert.h: No such file or directory
37 | #include "Devassert.h"
| ^~~~~~~~~~~~~
In file included from ../stacks/tcpip/lwip/src/include/lwip/arch.h:48,
from ../stacks/tcpip/lwip/src/include/lwip/debug.h:40,
from ../stacks/tcpip/lwip/src/include/lwip/opt.h:52,
from ../stacks/tcpip/lwip/src/include/netif/ppp/ppp_opts.h:31,
from ../stacks/tcpip/lwip/src/netif/ppp/polarssl/md4.c:42:
C:/S32-DS-Workspace/lwip_s32g274a/stacks/tcpip/code/ports/platform/generic/gcc/setting/arch/cc.h:37:10: fatal error: Devassert.h: No such file or directory
37 | #include "Devassert.h"
| ^~~~~~~~~~~~~
In file included from ../stacks/tcpip/lwip/src/include/lwip/arch.h:48,
from ../stacks/tcpip/lwip/src/include/lwip/debug.h:40,
from ../stacks/tcpip/lwip/src/include/lwip/opt.h:52,
from ../stacks/tcpip/lwip/src/include/netif/ppp/ppp_opts.h:31,
from ../stacks/tcpip/lwip/src/netif/ppp/auth.c:71:
C:/S32-DS-Workspace/lwip_s32g274a/stacks/tcpip/code/ports/platform/generic/gcc/setting/arch/cc.h:37:10: fatal error: Devassert.h: No such file or directory
37 | #include "Devassert.h"

------------------------------------------------------------------------------------

arm-none-eabi-gcc "@stacks/tcpip/code/apps/udpecho_raw/udpecho_raw.args" -MMD -MP -MF"stacks/tcpip/code/apps/udpecho_raw/udpecho_raw.d" -MT"stacks/tcpip/code/apps/udpecho_raw/udpecho_raw.o" -o "stacks/tcpip/code/apps/udpecho_raw/udpecho_raw.o" "../stacks/tcpip/code/apps/udpecho_raw/udpecho_raw.c"
arm-none-eabi-gcc "@stacks/tcpip/code/apps/udpecho/udpecho.args" -MMD -MP -MF"stacks/tcpip/code/apps/udpecho/udpecho.d" -MT"stacks/tcpip/code/apps/udpecho/udpecho.o" -o "stacks/tcpip/code/apps/udpecho/udpecho.o" "../stacks/tcpip/code/apps/udpecho/udpecho.c"
../stacks/tcpip/code/ports/osif/rtd/OsIf_rtd_port.c:72:10: fatal error: Devassert.h: No such file or directory
72 | #include "Devassert.h"
| ^~~~~~~~~~~~~

compilation terminated.
make: *** [stacks/tcpip/code/ports/osif/rtd/subdir.mk:20: stacks/tcpip/code/ports/osif/rtd/OsIf_rtd_port.o] Error 1
make: *** Waiting for unfinished jobs....
Building file: ../stacks/tcpip/code/apps/tcpecho_raw/tcpecho_raw.c
In file included from ../RTD/include/Gmac_Ip_Device_Registers.h:75,
from ../RTD/include/Gmac_Ip_Types.h:75,
from ../RTD/include/Gmac_Ip.h:82,
from ../stacks/tcpip/code/ports/netif/gmacif/rtd/gmacif.c:174:
C:/S32-DS-Workspace/lwip_s32g274a/generate/include/Mcal.h:55:10: fatal error: Compiler.h: No such file or directory
55 | #include "Compiler.h"
| ^~~~~~~~~~~~
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@stacks/tcpip/code/apps/tcpecho_raw/tcpecho_raw.args" -MMD -MP -MF"stacks/tcpip/code/apps/tcpecho_raw/tcpecho_raw.d" -MT"stacks/tcpip/code/apps/tcpecho_raw/tcpecho_raw.o" -o "stacks/tcpip/code/apps/tcpecho_raw/tcpecho_raw.o" "../stacks/tcpip/code/apps/tcpecho_raw/tcpecho_raw.c"
compilation terminated.
make: *** [stacks/tcpip/code/ports/netif/gmacif/rtd/subdir.mk:20: stacks/tcpip/code/ports/netif/gmacif/rtd/gmacif.o] Error 1
In file included from ../RTD/include/OsIf.h:45,
from ../stacks/tcpip/code/ports/OS/sys_arch.c:109:
../RTD/include/OsIf_Internal.h:44:10: fatal error: StandardTypes.h: No such file or directory
44 | #include "StandardTypes.h"
| ^~~~~~~~~~~~~~~~~
Finished building: ../stacks/tcpip/lwip/src/api/tcpip.c
compilation terminated.
make: *** [stacks/tcpip/code/ports/OS/subdir.mk:20: stacks/tcpip/code/ports/OS/sys_arch.o] Error 1

Finished building: ../stacks/tcpip/code/apps/udpecho_raw/udpecho_raw.c
Finished building: ../stacks/tcpip/lwip/src/api/sockets.c


Finished building: ../stacks/tcpip/code/apps/udpecho/udpecho.c

Finished building: ../stacks/tcpip/code/apps/tcpecho_raw/tcpecho_raw.c

"make -j8 all" terminated with exit code 2. Build might be incomplete.

23:23:49 Build Failed. 7 errors, 0 warnings. (took 4m:46s.78ms)

//-----------------------------------

../stacks/tcpip/code/ports/osif/rtd/OsIf_rtd_port.c:75:10: fatal error: S32G274A_SCB.h: No such file or directory
75 | #include "S32G274A_SCB.h"
| ^~~~~~~~~~~~~~~~
In file included from ../RTD/include/Gmac_Ip_Device_Registers.h:75,
from ../RTD/include/Gmac_Ip_Types.h:75,
from ../RTD/include/Gmac_Ip.h:82,
from ../stacks/tcpip/code/ports/netif/gmacif/rtd/gmacif.c:174:
C:/S32-DS-Workspace/lwip_s32g274a/generate/include/Mcal.h:55:10: fatal error: Compiler.h: No such file or directory
55 | #include "Compiler.h"
| ^~~~~~~~~~~~
compilation terminated.
compilation terminated.
make: *** [stacks/tcpip/code/ports/osif/rtd/subdir.mk:20: stacks/tcpip/code/ports/osif/rtd/OsIf_rtd_port.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [stacks/tcpip/code/ports/netif/gmacif/rtd/subdir.mk:20: stacks/tcpip/code/ports/netif/gmacif/rtd/gmacif.o] Error 1
In file included from ../RTD/include/OsIf.h:45,
from ../stacks/tcpip/code/ports/OS/sys_arch.c:109:
../RTD/include/OsIf_Internal.h:44:10: fatal error: StandardTypes.h: No such file or directory
44 | #include "StandardTypes.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [stacks/tcpip/code/ports/OS/subdir.mk:20: stacks/tcpip/code/ports/OS/sys_arch.o] Error 1

标记 (1)
0 项奖励
回复
1 解答
27,048 次查看
MayanksPatel
NXP Employee
NXP Employee

Hi @viswa_kondapall,

Hope you are doing well.

You can check installed RTD version and TCP/IP Stack version in S32DS3.4.

Please follow below steps to check version:

1. Click on help -> S32DS Extension and Updates

2. Search RTD on seach bar to check installed version of RTD and same for TCP/IP.

I tried to compile lwip_s32g274a example application from pfe_demo package and it is successfully compiled.

Can you re-install RTD and TCP/IP Stack again as it causes the issue when it is not properly installed.

Please follow "PFE_Ethernet_Quick_Start.pdf" guide for compilation.

Environment used by me:

S32DS 3.4

TCP/IP Stack Version 1.0.3

S32 RTD AUTOSAR 4.4 Version 4.0.0.

FreeRTOS Version 2.0.0 and 4.0.0.

 

Please find attached screenshot for your referrence.

 

Hope this helps.

 

Thanks,

Mayank s Patel

在原帖中查看解决方案

0 项奖励
回复
25 回复数
10,375 次查看
MayanksPatel
NXP Employee
NXP Employee

Hi @viswa_kondapall,

I have drawn this high-level diagram to support you. 

In BSP User Manual and reference Manual data is available of the same.

 

 

Thanks,

Mayank s Patel

0 项奖励
回复
3,808 次查看
viswa_kondapall
Contributor IV

Hi Mayank,

PFE_MAC2 is only connected. On serial configured at 9600: Welcome message has to come -- but not yet came. 

We dont have S32 Debug probe. we are using SD card to flash LWIP project.

Regards,

Viswanath K

0 项奖励
回复
3,799 次查看
MayanksPatel
NXP Employee
NXP Employee

Hi @viswa_kondapall,

 

Please try with baud rate 115200 as I tried the same and getting the logs.

 

Thanks,

Mayank s Patel

0 项奖励
回复
3,975 次查看
viswa_kondapall
Contributor IV

Hi Mayank,

How you doing. Thank you for the reply. Today morning only we figured out.

1. 3 files - devassert.h/platfrom_types.h and platformtypes.h these need to place in RTD folder. 

2. RTD 1.0.0 need to be added then pfe_demo is compiled.

3. 373 warnings were there. in that 10 warning are from Include parths from stacks folders were not available.

4. test setup configuration were missing. 

Finally Pfe_demo is compiled but Ping is not happening. 1.3 TCP/IP stack NXP example project description is mentioned IPV4 setting.

S32DS - Preference:

viswa_kondapall_0-1681924614645.png

Compilation summary :

viswa_kondapall_1-1681924779792.png

Description Resource Path Location Type
Invalid project path: Include path not found (C:\S32-DS-Workspace\lwip_s32g274a\stacks\tcpip\code\ports\crypto\hse). lwip_s32g274a pathentry Path Entry Problem 
Invalid project path: Include path not found (C:\S32-DS-Workspace\lwip_s32g274a\stacks\tcpip\wolfssl). lwip_s32g274a pathentry Path Entry Problem
Invalid project path: Include path not found (C:\S32-DS-Workspace\lwip_s32g274a\stacks\tcpip\wolfssl\wolfcrypt\src\port\nxp). lwip_s32g274a pathentry Path Entry Problem
Invalid project path: Include path not found (C:\S32-DS-Workspace\lwip_s32g274a\stacks\tcpip\wolfssl\wolfssl\wolfcrypt). lwip_s32g274a pathentry Path Entry Problem
Invalid project path: Include path not found (C:\S32-DS-Workspace\lwip_s32g274a\stacks\tcpip\wolfssl\wolfssl\wolfcrypt\port\nxp). lwip_s32g274a pathentry Path Entry Problem
Invalid project path: Include path not found (C:\S32-DS-Workspace\lwip_s32g274a\wolfssl). lwip_s32g274a pathentry Path Entry Problem
Invalid project path: Missing project folder or file: \lwip_s32g274a\wolfssl for Source path. lwip_s32g274a pathentry Path Entry Problem

Total warning: Already successfully build getting some many warning :

Description Resource Path Location Type
'args' offset 5 in 'struct pfe_platform_rpc_pfe_log_if_set_match_rules_arg_tag' isn't aligned to 4 [-Wpacked-not-aligned] pfe_platform_rpc.h /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/include line 175 C/C++ Problem
'arguments' offset 51 in 'struct <anonymous>' isn't aligned to 4 [-Wpacked-not-aligned] fpp_ext.h /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/include line 443 C/C++ Problem
'ii' may be used uninitialized in this function [-Wmaybe-uninitialized] pfe_hif_mcal.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 281 C/C++ Problem
'mld_pfe_if_filter' defined but not used [-Wunused-function] pfe-if.c /lwip_s32g274a/PFE/src line 153 C/C++ Problem
'stats' offset 151 in 'struct <anonymous>' isn't aligned to 4 [-Wpacked-not-aligned] fpp_ext.h /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/include line 444 C/C++ Problem
'stats' offset 63 in 'struct <anonymous>' isn't aligned to 4 [-Wpacked-not-aligned] fpp_ext.h /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/include line 421 C/C++ Problem
"ETHIF_INIT" redefined gmacif.h /lwip_s32g274a/stacks/tcpip/code/ports/netif/gmacif/rtd line 154 C/C++ Problem
"ETHIF_SHUTDOWN" redefined gmacif.h /lwip_s32g274a/stacks/tcpip/code/ports/netif/gmacif/rtd line 155 C/C++ Problem
"offsetof" redefined oal_util_autosar.h /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/include line 45 C/C++ Problem
"UINT_MAX" redefined oal_types_autosar.h /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/include line 41 C/C++ Problem
alignment 1 of 'struct <anonymous>' is less than 4 [-Wpacked-not-aligned] fpp_ext.h /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/include line 422 C/C++ Problem
alignment 1 of 'struct <anonymous>' is less than 4 [-Wpacked-not-aligned] fpp_ext.h /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/include line 445 C/C++ Problem
cast between incompatible function types from 'boolean (*)(void *)' {aka '_Bool (*)(void *)'} to 'bool_t (*)(void *)' {aka 'unsigned char (*)(void *)'} [-Wcast-function-type] Eth_PFE_LLD.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 401 C/C++ Problem
comparison of integer expressions of different signedness: 'int32_t' {aka 'long int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare] pfe_class.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 798 C/C++ Problem
Invalid project path: Include path not found (C:\S32-DS-Workspace\lwip_s32g274a\stacks\tcpip\code\ports\crypto\hse). lwip_s32g274a pathentry Path Entry Problem
Invalid project path: Include path not found (C:\S32-DS-Workspace\lwip_s32g274a\stacks\tcpip\wolfssl). lwip_s32g274a pathentry Path Entry Problem
Invalid project path: Include path not found (C:\S32-DS-Workspace\lwip_s32g274a\stacks\tcpip\wolfssl\wolfcrypt\src\port\nxp). lwip_s32g274a pathentry Path Entry Problem
Invalid project path: Include path not found (C:\S32-DS-Workspace\lwip_s32g274a\stacks\tcpip\wolfssl\wolfssl\wolfcrypt). lwip_s32g274a pathentry Path Entry Problem
Invalid project path: Include path not found (C:\S32-DS-Workspace\lwip_s32g274a\stacks\tcpip\wolfssl\wolfssl\wolfcrypt\port\nxp). lwip_s32g274a pathentry Path Entry Problem
Invalid project path: Include path not found (C:\S32-DS-Workspace\lwip_s32g274a\wolfssl). lwip_s32g274a pathentry Path Entry Problem
Invalid project path: Missing project folder or file: \lwip_s32g274a\wolfssl for Source path. lwip_s32g274a pathentry Path Entry Problem
mismatch in return type of built-in function 'snprintf'; expected 'int' [-Wbuiltin-declaration-mismatch] nxp_snprintf.h /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/include line 72 C/C++ Problem
mismatch in return type of built-in function 'vsnprintf'; expected 'int' [-Wbuiltin-declaration-mismatch] nxp_snprintf.h /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/include line 73 C/C++ Problem
taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] elf.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 1386 C/C++ Problem
taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] elf.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 1427 C/C++ Problem
taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] pfe_idex.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 746 C/C++ Problem
taking address of packed member of 'struct pfe_pfe_hif_drv_client_tag' may result in an unaligned pointer value [-Waddress-of-packed-member] pfe_hif_drv.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 767 C/C++ Problem
taking address of packed member of 'struct pfe_pfe_hif_drv_client_tag' may result in an unaligned pointer value [-Waddress-of-packed-member] pfe_hif_drv.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 805 C/C++ Problem
taking address of packed member of 'struct pfe_pfe_hif_drv_client_tag' may result in an unaligned pointer value [-Waddress-of-packed-member] pfe_hif_drv.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 844 C/C++ Problem
taking address of packed member of 'struct pfe_pfe_hif_drv_client_tag' may result in an unaligned pointer value [-Waddress-of-packed-member] pfe_hif_drv.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 891 C/C++ Problem
taking address of packed member of 'struct pfe_pfe_hif_drv_client_tag' may result in an unaligned pointer value [-Waddress-of-packed-member] pfe_hif_drv.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 2492 C/C++ Problem
taking address of packed member of 'struct pfe_pfe_hif_drv_client_tag' may result in an unaligned pointer value [-Waddress-of-packed-member] pfe_hif_drv.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 2522 C/C++ Problem
taking address of packed member of 'struct pfe_platform_rpc_pfe_log_if_set_match_rules_arg_tag' may result in an unaligned pointer value [-Waddress-of-packed-member] pfe_platform_master.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 572 C/C++ Problem
taking address of packed member of 'struct pfe_platform_rpc_pfe_log_if_set_match_rules_arg_tag' may result in an unaligned pointer value [-Waddress-of-packed-member] pfe_platform_master.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 601 C/C++ Problem
type qualifiers ignored on function return type [-Wignored-qualifiers] pfe_tmu_csr.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 46 C/C++ Problem
type qualifiers ignored on function return type [-Wignored-qualifiers] pfe_tmu_csr.h /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/include line 220 C/C++ Problem
Unused declaration of function 'FUNC' pfe-if.c /lwip_s32g274a/PFE/src line 420 Code Analysis Problem
Unused declaration of function 'sys_init' test.c /lwip_s32g274a/src line 234 Code Analysis Problem
unused parameter 'action' [-Wunused-parameter] pfe-if.c /lwip_s32g274a/PFE/src line 155 C/C++ Problem
unused parameter 'arg' [-Wunused-parameter] oal_job_freertos.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 46 C/C++ Problem
unused parameter 'client' [-Wunused-parameter] pfe_hif_drv.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 240 C/C++ Problem
unused parameter 'client' [-Wunused-parameter] pfe_hif_drv.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 327 C/C++ Problem
unused parameter 'client' [-Wunused-parameter] pfe_hif_drv.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 1894 C/C++ Problem
unused parameter 'group' [-Wunused-parameter] pfe-if.c /lwip_s32g274a/PFE/src line 154 C/C++ Problem
unused parameter 'netif' [-Wunused-parameter] pfe-if.c /lwip_s32g274a/PFE/src line 153 C/C++ Problem
unused parameter 'port' [-Wunused-parameter] pfe_hif_drv.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 1895 C/C++ Problem
unused parameter 'res' [-Wunused-parameter] pfe_idex.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 547 C/C++ Problem
unused parameter 'rx' [-Wunused-parameter] pfe_hif_drv.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 1894 C/C++ Problem
unused parameter 'seq_id' [-Wunused-parameter] pfe_hif_drv.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 1895 C/C++ Problem
unused parameter 'spinlock' [-Wunused-parameter] oal_spinlock_autosar.h /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/include line 35 C/C++ Problem
unused parameter 'spinlock' [-Wunused-parameter] oal_spinlock_autosar.h /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/include line 41 C/C++ Problem
unused parameter 'spinlock' [-Wunused-parameter] oal_spinlock_autosar.h /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/include line 47 C/C++ Problem
unused parameter 'spinlock' [-Wunused-parameter] oal_spinlock_autosar.h /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/include line 54 C/C++ Problem
unused parameter 'ts_nsec' [-Wunused-parameter] pfe_hif_drv.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 1895 C/C++ Problem
unused parameter 'ts_sec' [-Wunused-parameter] pfe_hif_drv.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 1895 C/C++ Problem
unused parameter 'type' [-Wunused-parameter] pfe_hif_drv.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 1895 C/C++ Problem
Unused static function 'mld_pfe_if_filter' pfe-if.c /lwip_s32g274a/PFE/src line 153 Code Analysis Problem
unused variable 'ccsidr' [-Wunused-variable] system.c /lwip_s32g274a/Project_Settings/Startup_Code line 389 C/C++ Problem
unused variable 'channel' [-Wunused-variable] device.c /lwip_s32g274a/src line 60 C/C++ Problem
unused variable 'sets' [-Wunused-variable] system.c /lwip_s32g274a/Project_Settings/Startup_Code line 390 C/C++ Problem
unused variable 'ways' [-Wunused-variable] system.c /lwip_s32g274a/Project_Settings/Startup_Code line 391 C/C++ Problem
variable 'bLong' set but not used [-Wunused-but-set-variable] nxp_snprintf.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 1412 C/C++ Problem
variable 'error_file' set but not used [-Wunused-but-set-variable] pfe_pe.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 1852 C/C++ Problem
variable 'error_line' set but not used [-Wunused-but-set-variable] pfe_pe.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 1849 C/C++ Problem
variable 'error_str' set but not used [-Wunused-but-set-variable] pfe_pe.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 1851 C/C++ Problem
variable 'error_val' set but not used [-Wunused-but-set-variable] pfe_pe.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 1853 C/C++ Problem
variable 'reg' set but not used [-Wunused-but-set-variable] pfe_hif_csr.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 45 C/C++ Problem
variable 'u64NextArg' set but not used [-Wunused-but-set-variable] nxp_snprintf.c /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/src line 1418 C/C++ Problem
in definition of macro 'LLIST_AddAtEnd' linked_list.h /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/include line 141 C/C++ Problem
in definition of macro 'LLIST_AddAtEnd' linked_list.h /lwip_s32g274a/PFE/Eth_43_PFE_TS_T40D11M08I2R0/include line 142 C/C++ Problem
this is the location of the previous definition lwip_s32g274a line 124, external location: c:\nxp\s32ds.3.4\s32ds\build_tools\gcc_v9.2\gcc-9.2-arm32-eabi\lib\gcc\arm-none-eabi\9.2.0\include-fixed\limits.h C/C++ Problem
this is the location of the previous definition lwip_s32g274a line 406, external location: c:\nxp\s32ds.3.4\s32ds\build_tools\gcc_v9.2\gcc-9.2-arm32-eabi\lib\gcc\arm-none-eabi\9.2.0\include\stddef.h C/C++ Problem
this is the location of the previous definition pfe-if.h /lwip_s32g274a/PFE/include line 40 C/C++ Problem
this is the location of the previous definition pfe-if.h /lwip_s32g274a/PFE/include line 42 C/C++ Problem

 

标记 (2)
0 项奖励
回复
3,858 次查看
viswa_kondapall
Contributor IV

Hi,

Error 1:

Devasset.h -- this file is not available. In the PFE_demo code build taken from NXP RDB2 board page only. -- Temporary fix given by creating a dummy file.  Then after few more errors are came. 

Error 2: S32G274A-SCB.h file is missing unable to find in the PFE_demo folder. How to find or add this file to the workspace ???
../stacks/tcpip/code/ports/osif/rtd/OsIf_rtd_port.c:75:10: fatal error: S32G274A_SCB.h: No such file or directory
make: *** [stacks/tcpip/code/ports/osif/rtd/subdir.mk:20: stacks/tcpip/code/ports/osif/rtd/OsIf_rtd_port.o] Error 1

Error 3: Compiler.h file is missing. -- how to fix or how to add this file ???
C:/S32-DS-Workspace/PFE-Demo/RTD_PFE_DEMO/source/lwip_s32g274a/board/lwip_s32g274a/generate/include/Mcal.h:55:10: fatal error: Compiler.h: No such file or directory
make: *** [stacks/tcpip/code/ports/netif/gmacif/rtd/subdir.mk:20: stacks/tcpip/code/ports/netif/gmacif/rtd/gmacif.o] Error 1

Error 4: Standard.h file is missing. How to add to workspace or how to add this file ??
../RTD/include/OsIf_Internal.h:44:10: fatal error: StandardTypes.h: No such file or directory
make: *** [stacks/tcpip/code/ports/OS/subdir.mk:20: stacks/tcpip/code/ports/OS/sys_arch.o] Error 1

 

Regards,

Viswanath K

标记 (2)
0 项奖励
回复