BugID:24656372:add readme for app\legacy and board\legacy ;board
@@ -432,9 +432,11 @@ static void I2C1_init()
void board_network_init(void)
{
#ifndef WITH_SAL
+#if AOS_NET_WITH_ETH
/*enable ethernet*/
MX_ETH_Init();
lwip_tcpip_init();
+#endif
#endif
hw_start_hal();
