From: Florent Kermarrec Date: Tue, 30 Jun 2020 17:17:44 +0000 (+0200) Subject: tools/litex_crossover_uart: add host argument to connect to a remote server. X-Git-Tag: 24jan2021_ls180~124 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c0dba18d595c5ee371805896f118b5ab6eddd109;p=litex.git tools/litex_crossover_uart: add host argument to connect to a remote server. example: litex_server over PCIe running on a remote machine and create virtual uart on our local machine. --- diff --git a/litex/tools/litex_crossover_uart.py b/litex/tools/litex_crossover_uart.py index c0d20b61..57aed37c 100755 --- a/litex/tools/litex_crossover_uart.py +++ b/litex/tools/litex_crossover_uart.py @@ -13,10 +13,11 @@ import argparse from litex import RemoteClient parser = argparse.ArgumentParser(description="LiteX Crossover UART bridge tool") -parser.add_argument("--base-address", default=0, help="Wishbone Bridge base address") +parser.add_argument("--host", default="localhost", help="Host IP address") +parser.add_argument("--base-address", default="0x00000000", help="Wishbone base address") args = parser.parse_args() -wb = RemoteClient(base_address=int(args.base_address, 0)) +wb = RemoteClient(host=args.host, base_address=int(args.base_address, 0)) wb.open() # # #