File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,11 @@ def main():
113113 if "leds" in board .soc_capabilities :
114114 soc_kwargs .update (with_led_chaser = True )
115115 if "ethernet" in board .soc_capabilities :
116- soc_kwargs .update (with_ethernet = True )
116+ soc_kwargs .update (
117+ with_ethernet = True ,
118+ eth_ip = args .local_ip ,
119+ remote_ip = args .remote_ip ,
120+ )
117121 if "pcie" in board .soc_capabilities :
118122 soc_kwargs .update (with_pcie = True )
119123 if "spiflash" in board .soc_capabilities :
@@ -158,8 +162,6 @@ def main():
158162 soc .add_spi_sdcard ()
159163 if "sdcard" in board .soc_capabilities :
160164 soc .add_sdcard ()
161- if "ethernet" in board .soc_capabilities :
162- soc .configure_ethernet (remote_ip = args .remote_ip )
163165 #if "leds" in board.soc_capabilities:
164166 # soc.add_leds()
165167 if "rgb_led" in board .soc_capabilities :
You can’t perform that action at this time.
0 commit comments