diff --git a/litex/tools/litex_crossover_uart.py b/litex/tools/litex_crossover_uart.py index de44c4984..c0d20b614 100755 --- a/litex/tools/litex_crossover_uart.py +++ b/litex/tools/litex_crossover_uart.py @@ -8,10 +8,15 @@ import os import pty import threading +import argparse from litex import RemoteClient -wb = RemoteClient() +parser = argparse.ArgumentParser(description="LiteX Crossover UART bridge tool") +parser.add_argument("--base-address", default=0, help="Wishbone Bridge base address") +args = parser.parse_args() + +wb = RemoteClient(base_address=int(args.base_address, 0)) wb.open() # # #