This shows you the differences between two versions of the page.
— |
library:stm32:freertos_and_lwip [2022/05/02 00:32] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Misc for FreeRTOS And lwIP Porting ====== | ||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | ===== 文件 ===== | ||
+ | |||
+ | ethernetif.c / ethernetif.h | ||
+ | /* | ||
+ | * This file is a skeleton for developing Ethernet network interface | ||
+ | * drivers for lwIP. Add code to the low_level functions and do a | ||
+ | * search-and-replace for the word " | ||
+ | * something that better describes your network interface. | ||
+ | */ | ||
+ | |||
+ | 为lwip提供访问以太网的API,包括对MAC(硬件)收发数据包,初始化接口描述符 | ||
+ | |||
+ | API: | ||
+ | err_t ethernetif_init(struct netif *netif) | ||
+ | err_t ethernetif_input(struct netif *netif) | ||
+ | |||