From c0dba18d595c5ee371805896f118b5ab6eddd109 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 30 Jun 2020 19:17:44 +0200 Subject: [PATCH] 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. --- litex/tools/litex_crossover_uart.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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() # # # -- 2.30.2