TI中文支持网
TI专业的中文技术问题搜集分享网站

TMS570LC4357 LWIP 例子的具体网址是?

官方例程 用的 phy芯片是? 接口是 MII还是RMII?

Susan Yang:

您可以在下面的链接查看并下载例程的相关内容

processors.wiki.ti.com/…/HALCoGen_Ethernet_Driver_and_lwIP_Integration_Demonstration
Most HDKs support MII by default, while controlCARDs are designed for RMII

,

user4329368:

这个例子中为什么LWIP中很多源文件 都选择编译时不包括,而在 “lwiplib.c”文件中包括了很多源文件,如下所示:
#include "src/api/api_lib.c"
#include "src/api/api_msg.c"
#include "src/api/err.c"
#include "src/api/netbuf.c"
#include "src/api/netdb.c"
#include "src/api/netifapi.c"
#include "src/api/tcpip.c"
#include "src/api/sockets.c"

#include "src/core/dhcp.c"
#include "src/core/dns.c"
#include "src/core/init.c"
#include "src/core/mem.c"
#include "src/core/memp.c"
#include "src/core/netif.c"
#include "src/core/pbuf.c"
#include "src/core/raw.c"
#include "src/core/stats.c"
#include "src/core/sys.c"
#include "src/core/tcp.c"
#include "src/core/tcp_in.c"
#include "src/core/tcp_out.c"
#include "src/core/udp.c"

#include "src/core/ipv4/autoip.c"
#include "src/core/ipv4/icmp.c"
#include "src/core/ipv4/igmp.c"
#include "src/core/ipv4/inet.c"
#include "src/core/ipv4/inet_chksum.c"
#include "src/core/ipv4/ip.c"
#include "src/core/ipv4/ip_addr.c"
#include "src/core/ipv4/ip_frag.c"

#include "src/core/snmp/asn1_dec.c"
#include "src/core/snmp/asn1_enc.c"
#include "src/core/snmp/mib2.c"
#include "src/core/snmp/mib_structs.c"
#include "src/core/snmp/msg_in.c"
#include "src/core/snmp/msg_out.c"

#include "src/netif/etharp.c"
#include "src/netif/loopif.c"

#include "src/netif/ppp/auth.c"
#include "src/netif/ppp/chap.c"
#include "src/netif/ppp/chpms.c"
#include "src/netif/ppp/fsm.c"
#include "src/netif/ppp/ipcp.c"
#include "src/netif/ppp/lcp.c"
#include "src/netif/ppp/magic.c"
#include "src/netif/ppp/md5.c"
#include "src/netif/ppp/pap.c"
#include "src/netif/ppp/ppp.c"
#include "src/netif/ppp/ppp_oe.c"
#include "src/netif/ppp/randm.c"
#include "src/netif/ppp/vj.c"

这两种操作方式有什么差别?

,

Susan Yang:

初始化lwIP堆栈和注册网络接口所需的所有功能调用均在 lwiplib.c,这样会更加方便一些

赞(0)
未经允许不得转载:TI中文支持网 » TMS570LC4357 LWIP 例子的具体网址是?
分享到: 更多 (0)