tools/litex_crossover_uart: add base_address argument (required when wishbone translation).
This commit is contained in:
parent
54598ed2f8
commit
68297fce9e
|
@ -8,10 +8,15 @@
|
||||||
import os
|
import os
|
||||||
import pty
|
import pty
|
||||||
import threading
|
import threading
|
||||||
|
import argparse
|
||||||
|
|
||||||
from litex import RemoteClient
|
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()
|
wb.open()
|
||||||
|
|
||||||
# # #
|
# # #
|
||||||
|
|
Loading…
Reference in New Issue