文件名称:uip_avr

  • 所属分类:
  • 单片机(51,AVR,MSP430等)
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 411kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • yuang******
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

移植uip-1.0到Atmega32

1)把 uip-1.0 的所有文件加入到工程,包括 uip 目录的文件(除uip-split.c)、unix 目录的文件、lib 目录的文件;

2)修改 uip/uip-neighbor.c 文件的

void uip_neighbor_add(uip_ipaddr_t ipaddr, struct uip_neighbor_addr *addr)

函数,一般注释掉 printf 语句即可,或者改为你自己的串口格式化打印实现。

3)uip 目录里的源文件除 uipopt.h 外一般都无需修改;uipopt.h 包含了 uip-conf.h ,所以大部分修改可以在

uip-conf.h 里进行。

uip-conf.h 里加入如下定义,可以减少编译的警告:

#define notdef 0

#define UIP_CONF_IPV6 0

#define UIP_ARCH_ADD32 0

#define UIP_ARCH_CHKSUM 0

#define UIP_NEIGHBOR_CONF_ADDRTYPE 0

4)移植工作主要是 定时器中断程序 与 网络驱动 的编写-1) to the uip-1.0 added to the works of all documents, including documents uip directory (except uip-split.c), unix file directories, lib directories of documents 

2) Revise the uip/uip-neighbor.c documents

void uip_neighbor_add (uip_ipaddr_t ipaddr, struct uip_neighbor_addr* addr)

Function printf statements generally can be commented out or changed to your own print serial format to achieve.

3) uip the source file directory in addition to uipopt.h generally no need to change things uipopt.h contains uip-conf.h, most modifications can be

uip-conf.h conducted.

uip-conf.h to add the following definition, can reduce the compiler warning:

# define notdef 0

# define UIP_CONF_IPV6 0

# define UIP_ARCH_ADD32 0

# define UIP_ARCH_CHKSUM 0

# define UIP_NEIGHBOR_CONF_ADDRTYPE 0

4) transplantation is a timer interrupt work process with the preparation of a network drive
相关搜索: uip
PSOCK
u
uip
a
uip_avr

(系统自动生成,下载前可以参看下载内容)

下载文件列表

uip_avr

.......\apps

.......\....\dhcpc

.......\....\.....\dhcpc.c

.......\....\.....\dhcpc.h

.......\....\.....\Makefile.dhcpc

.......\....\hello-world

.......\....\...........\hello-world.c

.......\....\...........\hello-world.h

.......\....\...........\Makefile.hello-world

.......\....\README

.......\....\resolv

.......\....\......\Makefile.resolv

.......\....\......\resolv.c

.......\....\......\resolv.h

.......\....\smtp

.......\....\....\Makefile.smtp

.......\....\....\makestrings

.......\....\....\smtp-strings

.......\....\....\smtp-strings.c

.......\....\....\smtp-strings.h

.......\....\....\smtp.c

.......\....\....\smtp.h

.......\....\telnetd

.......\....\.......\Makefile.telnetd

.......\....\.......\shell.c

.......\....\.......\shell.h

.......\....\.......\telnetd.c

.......\....\.......\telnetd.h

.......\....\webclient

.......\....\.........\Makefile.webclient

.......\....\.........\makestrings

.......\....\.........\webclient-strings

.......\....\.........\webclient-strings.c

.......\....\.........\webclient-strings.h

.......\....\.........\webclient.c

.......\....\.........\webclient.h

.......\....\webserver

.......\....\.........\http-strings

.......\....\.........\http-strings.c

.......\....\.........\http-strings.h

.......\....\.........\httpd-cgi.c

.......\....\.........\httpd-cgi.h

.......\....\.........\httpd-fs

.......\....\.........\........\404.html

.......\....\.........\........\fade.png

.......\....\.........\........\files.shtml

.......\....\.........\........\footer.html

.......\....\.........\........\header.html

.......\....\.........\........\index.html

.......\....\.........\........\processes.shtml

.......\....\.........\........\stats.shtml

.......\....\.........\........\style.css

.......\....\.........\........\tcp.shtml

.......\....\.........\httpd-fs.c

.......\....\.........\httpd-fs.h

.......\....\.........\httpd-fsdata.c

.......\....\.........\httpd-fsdata.h

.......\....\.........\httpd.c

.......\....\.........\httpd.h

.......\....\.........\Makefile.webserver

.......\....\.........\makefsdata

.......\....\.........\makestrings

.......\....\.........\webserver.h

.......\Include

.......\.......\Config.h

.......\.......\Type.h

.......\lib

.......\...\memb.c

.......\...\memb.h

.......\main.c

.......\Makefile

.......\obj

.......\...\apps

.......\...\....\hello-world

.......\...\....\...........\hello-world.lst

.......\...\....\...........\hello-world.o

.......\...\....\telnetd

.......\...\....\.......\shell.lst

.......\...\....\.......\shell.o

.......\...\....\.......\telnetd.lst

.......\...\....\.......\telnetd.o

.......\...\lib

.......\...\...\memb.lst

.......\...\...\memb.o

.......\...\main.lst

.......\...\main.o

.......\...\rs232

.......\...\.....\rs232.lst

.......\...\.....\rs232.o

.......\...\uip

.......\...\...\psock.lst

.......\...\...\psock.o

.......\...\...\timer.lst

.......\...\...\timer.o

.......\...\...\uip.lst

.......\...\...\uip.o

.......\...\...\uip_arp.lst

.......\...\...\uip_arp.o

.......\...\unix

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org