使用DM9051模块的LwIP协议栈在FreeRTOS系统上的移植(C语言)

上传者: ztz123123 | 上传时间: 2023-04-13 16:00:56 | 文件大小: 1.92MB | 文件类型: ZIP
使用 STM32F103RC 芯片,STM32IDE 1.11.0 编译器。LwIP 2.1.3 版本,FreeRTOS 10 支持套接字通信和ping通信。 核心是 lwip 在 OS 模式下的 移植,opt 配置 头文件 中的系统相关参数的配置 非常重要。 FreeRTOS 的 内存配置也非常重要,要考虑到 lwip 会动态创建 task。 主程序在初始化完成后,启动一个 task ,轮询 lwip 的底层数据包。 LwIP 协议栈 驱动 ethernetif.c ethernetif_init() -> low_level_init() -> 初始化底层 MAC&PHY [task] DefaultTask() -> ethernetif_input() -> low_level_input() -> mux + read() [task] tcpip_thread() -> low_level_output() -> mux + write()

文件下载

资源详情

[{"title":"( 399 个子文件 1.92MB ) 使用DM9051模块的LwIP协议栈在FreeRTOS系统上的移植(C语言)","children":[{"title":"stm32f1xx_hal_tim.c <span style='color:#111;'> 242.32KB </span>","children":null,"spread":false},{"title":"tasks.c <span style='color:#111;'> 161.90KB </span>","children":null,"spread":false},{"title":"sockets.c <span style='color:#111;'> 138.93KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_uart.c <span style='color:#111;'> 132.04KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_spi.c <span style='color:#111;'> 128.36KB </span>","children":null,"spread":false},{"title":"queue.c <span style='color:#111;'> 91.54KB </span>","children":null,"spread":false},{"title":"tcp.c <span style='color:#111;'> 87.12KB </span>","children":null,"spread":false},{"title":"nd6.c <span style='color:#111;'> 85.54KB </span>","children":null,"spread":false},{"title":"tcp_in.c <span style='color:#111;'> 83.64KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_tim_ex.c <span style='color:#111;'> 79.24KB </span>","children":null,"spread":false},{"title":"tcp_out.c <span style='color:#111;'> 77.03KB </span>","children":null,"spread":false},{"title":"dhcp.c <span style='color:#111;'> 76.09KB </span>","children":null,"spread":false},{"title":"lcp.c <span style='color:#111;'> 74.47KB </span>","children":null,"spread":false},{"title":"api_msg.c <span style='color:#111;'> 68.83KB </span>","children":null,"spread":false},{"title":"auth.c <span style='color:#111;'> 65.80KB </span>","children":null,"spread":false},{"title":"ipcp.c <span style='color:#111;'> 64.27KB </span>","children":null,"spread":false},{"title":"eap.c <span style='color:#111;'> 63.06KB </span>","children":null,"spread":false},{"title":"ip6.c <span style='color:#111;'> 54.75KB </span>","children":null,"spread":false},{"title":"dns.c <span style='color:#111;'> 53.51KB </span>","children":null,"spread":false},{"title":"netif.c <span style='color:#111;'> 53.33KB </span>","children":null,"spread":false},{"title":"pbuf.c <span style='color:#111;'> 51.58KB </span>","children":null,"spread":false},{"title":"cmsis_os.c <span style='color:#111;'> 49.66KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_rcc.c <span style='color:#111;'> 49.12KB </span>","children":null,"spread":false},{"title":"ccp.c <span style='color:#111;'> 48.73KB </span>","children":null,"spread":false},{"title":"ppp.c <span style='color:#111;'> 48.69KB </span>","children":null,"spread":false},{"title":"etharp.c <span style='color:#111;'> 46.33KB </span>","children":null,"spread":false},{"title":"udp.c <span style='color:#111;'> 44.52KB </span>","children":null,"spread":false},{"title":"api_lib.c <span style='color:#111;'> 44.31KB </span>","children":null,"spread":false},{"title":"ipv6cp.c <span style='color:#111;'> 42.21KB </span>","children":null,"spread":false},{"title":"stream_buffer.c <span style='color:#111;'> 42.05KB </span>","children":null,"spread":false},{"title":"ip4.c <span style='color:#111;'> 41.14KB </span>","children":null,"spread":false},{"title":"pppol2tp.c <span style='color:#111;'> 40.46KB </span>","children":null,"spread":false},{"title":"timers.c <span style='color:#111;'> 38.89KB </span>","children":null,"spread":false},{"title":"pppoe.c <span style='color:#111;'> 38.16KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_flash_ex.c <span style='color:#111;'> 36.27KB </span>","children":null,"spread":false},{"title":"mem.c <span style='color:#111;'> 35.19KB </span>","children":null,"spread":false},{"title":"lowpan6_common.c <span style='color:#111;'> 33.88KB </span>","children":null,"spread":false},{"title":"chap_ms.c <span style='color:#111;'> 33.17KB </span>","children":null,"spread":false},{"title":"ip6_frag.c <span style='color:#111;'> 30.68KB </span>","children":null,"spread":false},{"title":"ip4_frag.c <span style='color:#111;'> 30.47KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_rcc_ex.c <span style='color:#111;'> 30.16KB </span>","children":null,"spread":false},{"title":"pppos.c <span style='color:#111;'> 29.91KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_flash.c <span style='color:#111;'> 29.55KB </span>","children":null,"spread":false},{"title":"lowpan6.c <span style='color:#111;'> 29.39KB </span>","children":null,"spread":false},{"title":"dhcp6.c <span style='color:#111;'> 28.24KB </span>","children":null,"spread":false},{"title":"igmp.c <span style='color:#111;'> 27.88KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_dma.c <span style='color:#111;'> 27.82KB </span>","children":null,"spread":false},{"title":"port.c <span style='color:#111;'> 27.04KB </span>","children":null,"spread":false},{"title":"dm9051.c <span style='color:#111;'> 25.14KB </span>","children":null,"spread":false},{"title":"event_groups.c <span style='color:#111;'> 24.04KB </span>","children":null,"spread":false},{"title":"utils.c <span style='color:#111;'> 21.33KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_gpio.c <span style='color:#111;'> 21.06KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_pwr.c <span style='color:#111;'> 21.04KB </span>","children":null,"spread":false},{"title":"raw.c <span style='color:#111;'> 20.98KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal.c <span style='color:#111;'> 20.43KB </span>","children":null,"spread":false},{"title":"fsm.c <span style='color:#111;'> 20.25KB </span>","children":null,"spread":false},{"title":"vj.c <span style='color:#111;'> 20.11KB </span>","children":null,"spread":false},{"title":"tcpip.c <span style='color:#111;'> 19.72KB </span>","children":null,"spread":false},{"title":"inet_chksum.c <span style='color:#111;'> 19.54KB </span>","children":null,"spread":false},{"title":"bridgeif.c <span style='color:#111;'> 19.45KB </span>","children":null,"spread":false},{"title":"chap-new.c <span style='color:#111;'> 19.34KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_cortex.c <span style='color:#111;'> 18.91KB </span>","children":null,"spread":false},{"title":"mld6.c <span style='color:#111;'> 18.81KB </span>","children":null,"spread":false},{"title":"autoip.c <span style='color:#111;'> 18.64KB </span>","children":null,"spread":false},{"title":"upap.c <span style='color:#111;'> 17.61KB </span>","children":null,"spread":false},{"title":"sys_arch.c <span style='color:#111;'> 17.19KB </span>","children":null,"spread":false},{"title":"altcp.c <span style='color:#111;'> 17.17KB </span>","children":null,"spread":false},{"title":"des.c <span style='color:#111;'> 16.46KB </span>","children":null,"spread":false},{"title":"slipif.c <span style='color:#111;'> 16.25KB </span>","children":null,"spread":false},{"title":"init.c <span style='color:#111;'> 16.18KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 15.97KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_exti.c <span style='color:#111;'> 15.40KB </span>","children":null,"spread":false},{"title":"system_stm32f1xx.c <span style='color:#111;'> 14.80KB </span>","children":null,"spread":false},{"title":"ethernetif.c <span style='color:#111;'> 14.74KB </span>","children":null,"spread":false},{"title":"icmp6.c <span style='color:#111;'> 14.66KB </span>","children":null,"spread":false},{"title":"icmp.c <span style='color:#111;'> 14.65KB </span>","children":null,"spread":false},{"title":"altcp_tcp.c <span style='color:#111;'> 14.50KB </span>","children":null,"spread":false},{"title":"multilink.c <span style='color:#111;'> 14.30KB </span>","children":null,"spread":false},{"title":"heap_4.c <span style='color:#111;'> 14.03KB </span>","children":null,"spread":false},{"title":"lowpan6_ble.c <span style='color:#111;'> 13.88KB </span>","children":null,"spread":false},{"title":"pppapi.c <span style='color:#111;'> 13.69KB </span>","children":null,"spread":false},{"title":"netdb.c <span style='color:#111;'> 13.46KB </span>","children":null,"spread":false},{"title":"demand.c <span style='color:#111;'> 13.30KB </span>","children":null,"spread":false},{"title":"timeouts.c <span style='color:#111;'> 13.01KB </span>","children":null,"spread":false},{"title":"croutine.c <span style='color:#111;'> 12.87KB </span>","children":null,"spread":false},{"title":"mppe.c <span style='color:#111;'> 12.03KB </span>","children":null,"spread":false},{"title":"memp.c <span style='color:#111;'> 11.91KB </span>","children":null,"spread":false},{"title":"netifapi.c <span style='color:#111;'> 11.74KB </span>","children":null,"spread":false},{"title":"ethernet.c <span style='color:#111;'> 11.73KB </span>","children":null,"spread":false},{"title":"magic.c <span style='color:#111;'> 10.24KB </span>","children":null,"spread":false},{"title":"ip6_addr.c <span style='color:#111;'> 10.06KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_iwdg.c <span style='color:#111;'> 9.87KB </span>","children":null,"spread":false},{"title":"sha1.c <span style='color:#111;'> 9.66KB </span>","children":null,"spread":false},{"title":"md5.c <span style='color:#111;'> 9.19KB </span>","children":null,"spread":false},{"title":"ip4_addr.c <span style='color:#111;'> 8.80KB </span>","children":null,"spread":false},{"title":"zepif.c <span style='color:#111;'> 8.58KB </span>","children":null,"spread":false},{"title":"list.c <span style='color:#111;'> 8.20KB </span>","children":null,"spread":false},{"title":"md4.c <span style='color:#111;'> 8.17KB </span>","children":null,"spread":false},{"title":"netbuf.c <span style='color:#111;'> 7.23KB </span>","children":null,"spread":false},{"title":"bridgeif_fdb.c <span style='color:#111;'> 6.96KB </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明