1、fix lwip_tcp_demo and lwip_udp_demo error;2、add license for ethernet/netdev;3、add netdev for xiwangtong、ok1052、imxrt1176 board。

This commit is contained in:
Liu_Weichao
2023-08-07 14:48:37 +08:00
parent aa6fb2a8b0
commit ec7d9f1fcd
28 changed files with 1081 additions and 198 deletions
@@ -33,6 +33,8 @@
#define sourceClock CLOCK_GetFreq(kCLOCK_CoreSysClk)
#endif
int lwip_netdev_add(struct netif* lwip_netif);
void lwip_netdev_del(struct netif* lwip_netif);
#ifdef __cplusplus
}
@@ -181,11 +181,14 @@ err_t ethernetif1_init(struct netif *netif);
*/
void ethernetif_input( void *netif_arg);
void ETH_BSP_Config(void);
int ETH_BSP_Config(void);
void *ethernetif_config_enet_set(uint8_t enet_port);
int32 lwip_obtain_semaphore(struct netif *netif);
int lwip_netdev_add(struct netif* lwip_netif);
void lwip_netdev_del(struct netif* lwip_netif);
#define NETIF_ENET0_INIT_FUNC ethernetif0_init
#if defined(__cplusplus)