forked from xuos/xiuos
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user