我要做网络的IAP,在不带操作系统里有这样的步骤
while (1) { /* check if any packet received */ if (ETH_GetRxPktSize()!=0) { /* process received eth packet */ LwIP_Pkt_Handle(); } /* Periodic tasks */ System_Periodic_Handle(); },
while (1)
{
/* check if any packet received */
if (ETH_GetRxPktSize()!=0)
/* process received eth packet */
LwIP_Pkt_Handle();
}
/* Periodic tasks */
System_Periodic_Handle();
},
那我在带RTT系统里怎么实现?
查看更多
按照写网络应用的方式做呗
欢迎发表与嵌入式相关的技术分享、开发技巧、工具介绍、技术设想、职业心得、行业评论等对他人有启发,排版优雅的文章
回到 顶部
发布 问题
分享 好友
手机 浏览
投诉 建议
回到 底部