This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:TI-RTOS
你好。 我使用的是 AM572x IDK 板、并且希望使用所有以太网端口。 我知道、该板上的第二个 PRU 未连接。 我想在 TI-RTOS (带 NDK)上使用2个千兆位(EMAC)端口和2个 PRU-icsses 端口(来自第一个 PRU)、所有这些端口都有自己的静态 IP 地址。 请您为我澄清一些要点吗?
Alex、
DualMac 项目中第一个网络接口的 IP 地址通过索引为1的 CfgAddEntry 分配。
/*为接口1添加 IP 地址*/
na.ipaddr = inet_addr (ipaddr);
na.ipMask = inet_addr (ipMask);
CfgAddEntry (hCfg、CFGTAG _IPNet、1、0、sizeof (CI_IPNet)、
(uint8 *)不适用、0);
此致、
Garrett