fit musl for riscv64 boards.

This commit is contained in:
TXuian
2022-07-27 05:35:56 -07:00
parent 214cf55603
commit cb4a9d03e0
124 changed files with 768 additions and 1260 deletions
@@ -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);