tools/litex_term: Minor cosmetic changes.
This commit is contained in:
parent
22f4637570
commit
d6eeb20505
|
@ -81,7 +81,7 @@ else:
|
||||||
def handle_escape(self, b):
|
def handle_escape(self, b):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
# Crossover UART -------------------------------------------------------------------------------------
|
# Crossover UART ----------------------------------------------------------------------------------
|
||||||
|
|
||||||
from litex import RemoteClient
|
from litex import RemoteClient
|
||||||
|
|
||||||
|
@ -607,21 +607,21 @@ class LiteXTerm:
|
||||||
|
|
||||||
def _get_args():
|
def _get_args():
|
||||||
parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter)
|
parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter)
|
||||||
parser.add_argument("port", help="Serial port (eg /dev/tty*, crossover, jtag).")
|
parser.add_argument("port", help="Serial port (eg /dev/tty*, crossover, jtag).")
|
||||||
parser.add_argument("--speed", default=115200, help="Serial baudrate.")
|
parser.add_argument("--speed", default=115200, help="Serial baudrate.")
|
||||||
parser.add_argument("--serial-boot", default=False, action='store_true', help="Automatically initiate serial boot.")
|
parser.add_argument("--serial-boot", default=False, action='store_true', help="Automatically initiate serial boot.")
|
||||||
parser.add_argument("--kernel", default=None, help="Kernel image.")
|
parser.add_argument("--kernel", default=None, help="Kernel image.")
|
||||||
parser.add_argument("--kernel-adr", default="0x40000000", help="Kernel address.")
|
parser.add_argument("--kernel-adr", default="0x40000000", help="Kernel address.")
|
||||||
parser.add_argument("--images", default=None, help="JSON description of the images to load to memory.")
|
parser.add_argument("--images", default=None, help="JSON description of the images to load to memory.")
|
||||||
parser.add_argument("--safe", action="store_true", help="Safe serial boot mode, disable upload speed optimizations.")
|
parser.add_argument("--safe", action="store_true", help="Safe serial boot mode, disable upload speed optimizations.")
|
||||||
|
|
||||||
parser.add_argument("--csr-csv", default=None, help="SoC CSV file.")
|
parser.add_argument("--csr-csv", default=None, help="SoC CSV file.")
|
||||||
parser.add_argument("--base-address", default=None, help="CSR base address.")
|
parser.add_argument("--base-address", default=None, help="CSR base address.")
|
||||||
parser.add_argument("--crossover-name", default="uart_xover", help="Crossover UART name to use (present in design/csr.csv).")
|
parser.add_argument("--crossover-name", default="uart_xover", help="Crossover UART name to use (present in design/csr.csv).")
|
||||||
|
|
||||||
parser.add_argument("--jtag-name", default="jtag_uart", help="JTAG UART type (jtag_uart).")
|
parser.add_argument("--jtag-name", default="jtag_uart", help="JTAG UART type (jtag_uart).")
|
||||||
parser.add_argument("--jtag-config", default="openocd_xc7_ft2232.cfg", help="OpenOCD JTAG configuration file for jtag_uart.")
|
parser.add_argument("--jtag-config", default="openocd_xc7_ft2232.cfg", help="OpenOCD JTAG configuration file for jtag_uart.")
|
||||||
parser.add_argument("--jtag-chain", default=1, help="JTAG chain.")
|
parser.add_argument("--jtag-chain", default=1, help="JTAG chain.")
|
||||||
return parser.parse_args()
|
return parser.parse_args()
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
Loading…
Reference in New Issue