当前位置:网站首页>Gd32f4xx UIP protocol stack migration record
Gd32f4xx UIP protocol stack migration record
2022-07-05 23:58:00 【madao1234】
uIP It's a very small TCP/IP Stack . Use it completely C To write , It can be transplanted to various structures and operating systems , A compiled stack can be in a few KB ROM Or hundreds of bytes RAM Run in .
1、uIP Files that need to be migrated in
First, create a ethernet Folder , The files in the directory after migration are shown in the following figure :
(1)enc28j60.c / enc28j60.h Driver code for Ethernet chip . Please refer to my other article for details :
(2)uip.c / uip.h It is the core code of the protocol stack , from uIP Copy it from the source code .
(3)uip_arp.c / uip_arp.h Realization ARP( Address resolution protocol ) Core code , from uIP Copy it from the source code .
(4)uipopt.h / uip-conf.h yes uip Configuration file of protocol stack , from uIP Copy it from the source code .
(5)tapdev.c / tapdev.h It is the Ethernet driver initialization that needs to be implemented by ourselves 、 send out 、 Receive interface function file .
(6)ethernet.c / ethernet.h It is the processing thread of Ethernet Protocol , The processing thread structure is basically unchanged , You need to implement the processing function yourself .
2、tapdev.c /.h
#
边栏推荐
- CAS and synchronized knowledge
- Configuring OSPF GR features for Huawei devices
- Tools to improve work efficiency: the idea of SQL batch generation tools
- After summarizing more than 800 kubectl aliases, I'm no longer afraid that I can't remember commands!
- How to rotate the synchronized / refreshed icon (EL icon refresh)
- 7.5模拟赛总结
- JS 这次真的可以禁止常量修改了!
- 微信小程序---WXML 模板语法(附带笔记文档)
- shardingsphere源码解析
- Add noise randomly to open3d point cloud
猜你喜欢
上门预约服务类的App功能详解
Transport layer protocol ----- UDP protocol
GFS Distributed File System
The use of El cascader and the solution of error reporting
CAS and synchronized knowledge
[noi simulation] Anaid's tree (Mobius inversion, exponential generating function, Ehrlich sieve, virtual tree)
GD32F4xx uIP协议栈移植记录
云呐|固定资产管理系统功能包括哪些?
21. PWM application programming
Bao Yan notes II software engineering and calculation volume II (Chapter 13-16)
随机推荐
GFS Distributed File System
GD32F4xx uIP协议栈移植记录
shardingsphere源码解析
Add noise randomly to open3d point cloud
XML配置文件(DTD详细讲解)
Qt 一个简单的word文档编辑器
有什么不起眼却挣钱的副业?
7.5 装饰器
Configuring OSPF load sharing for Huawei devices
Chapter 16 oauth2authorizationrequestredirectwebfilter source code analysis
openssl-1.0.2k版本升级openssl-1.1.1p
Upgrade openssl-1.1.1p for openssl-1.0.2k
Transport layer protocol ----- UDP protocol
【QT】Qt使用QJson生成json文件并保存
Initialiser votre vecteur & initialisateur avec une liste Introduction à la Liste
Open3D 点云随机添加噪声
传输层协议------UDP协议
XML configuration file (DTD detailed explanation)
4 points tell you the advantages of the combination of real-time chat and chat robots
China Jinmao online electronic signature, accelerating the digitization of real estate business