I want to include the TCP/IP communication stack in a project using the S32K344 MCU. I have already installed the TCPIP_STACK extension for S32K3XX version 2.0.0 on S32DS 3.6.
Is it possible to use the TCP/IP stack without the Eth_43_GMAC component, which requires additional MCAL components?
I have tried to use the TCP/IP stack with the GMAC driver. In the S32DS peripheral configuration tool, there are no errors. However, when building the code, I get the following unresolved inclusion:
../RTD/include/Eth_43_GMAC.h:45:10: fatal error: Eth_43_GMAC_Cfg.h: No such file or directory
45 | #include "Eth_43_GMAC_Cfg.h"
Is there any example using tcpip without OS, and using only the Gmac component?
Solved! Go to Solution.
Hello @oscar_abn ,
you are right.
Example lwip_baremetal_s32k344 in S32DS 3.6 and TCPIP STACK 2.0.0 uses Eth_43_Gmac.
Example lwip_baremetal_s32k344 in S32DS 3.5 and TCPIP STACK 1.0.4 uses Gmac.
I'm afraid that there's no example with tcpip and Gmac in TCPIP STACK 2.0.0.
Best regards,
Pavel
Hello @oscar_abn ,
you should see example lwip_baremetal_s32k344 in TCPIP STACK. It uses GMAC without OS.
Best regards,
Pavel
I have already seen that example. The issue is that the example uses the Eth_43_Gmac component:
On the other hand, i would like to use the Gmac component of the Drivers section:
On the TCP/IP configuration i can parse the Gmac component:
However when building the project i get the following error, which suggests that Eth_43_Gmac is necessary.
../stacks/tcpip/code/ports/netif/gmacif/rtd/gmacif.c:174:10: fatal error: Eth_43_GMAC.h: No such file or directory
174 | #include "Eth_43_GMAC.h"
I would greatly appreciate any information regarding the use of the TCP/IP stack with the component mentioned.
Thanks
Hello @oscar_abn ,
you are right.
Example lwip_baremetal_s32k344 in S32DS 3.6 and TCPIP STACK 2.0.0 uses Eth_43_Gmac.
Example lwip_baremetal_s32k344 in S32DS 3.5 and TCPIP STACK 1.0.4 uses Gmac.
I'm afraid that there's no example with tcpip and Gmac in TCPIP STACK 2.0.0.
Best regards,
Pavel