fit musl for riscv64 boards.
This commit is contained in:
@@ -116,7 +116,7 @@ void ethernetif_gpio_init(void)
|
||||
GPIO_WritePinOutput(GPIO1, 3, 1);
|
||||
}
|
||||
|
||||
void ETH_BSP_Config(void)
|
||||
int ETH_BSP_Config(void)
|
||||
{
|
||||
static int flag = 0;
|
||||
if(flag == 0)
|
||||
@@ -125,6 +125,7 @@ void ETH_BSP_Config(void)
|
||||
ethernetif_gpio_init();
|
||||
flag = 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
void ethernetif_phy_init(struct ethernetif *ethernetif,
|
||||
|
||||
@@ -181,7 +181,7 @@ err_t ethernetif1_init(struct netif *netif);
|
||||
*/
|
||||
void ethernetif_input( struct netif *netif);
|
||||
|
||||
void ETH_BSP_Config(void);
|
||||
int ETH_BSP_Config(void);
|
||||
|
||||
int32 lwip_obtain_semaphore(struct netif *netif);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user