Welcome![Sign In][Sign Up]
Location:
Search - uip_avr

Search list

[SCMuip_avr

Description: 移植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
Platform: | Size: 420864 | Author: yuangaoping | Hits:

[SCMuip_avr

Description: uip_avr, avr上利用开源网络uip开发的网络系统,网络上下的欢迎下载-uip_avr, avr uip on the network using open-source development of network systems, network down welcome to download
Platform: | Size: 419840 | Author: dengxin | Hits:

CodeBus www.codebus.net