diff --git a/litex/tools/litex_server.py b/litex/tools/litex_server.py index 098363230..0988862ac 100755 --- a/litex/tools/litex_server.py +++ b/litex/tools/litex_server.py @@ -166,7 +166,7 @@ def main(): parser.add_argument("--bind-port", default=1234, help="Host bind port") parser.add_argument("--debug", action="store_true", - help="Turn on debug for comm") + help="Enable debug") # UART arguments parser.add_argument("--uart", action="store_true", @@ -210,13 +210,13 @@ def main(): uart_port = args.uart_port uart_baudrate = int(float(args.uart_baudrate)) print("[CommUART] port: {} / baudrate: {} / ".format(uart_port, uart_baudrate), end="") - comm = CommUART(uart_port, uart_baudrate, args.debug) + comm = CommUART(uart_port, uart_baudrate, debug=args.debug) elif args.udp: from litex.tools.remote.comm_udp import CommUDP udp_ip = args.udp_ip udp_port = int(args.udp_port) print("[CommUDP] ip: {} / port: {} / ".format(udp_ip, udp_port), end="") - comm = CommUDP(udp_ip, udp_port, args.debug) + comm = CommUDP(udp_ip, udp_port, debug=args.debug) elif args.pcie: from litex.tools.remote.comm_pcie import CommPCIe pcie_bar = args.pcie_bar @@ -232,7 +232,7 @@ def main(): enable.write("1") enable.close() print("[CommPCIe] bar: {} / ".format(pcie_bar), end="") - comm = CommPCIe(pcie_bar, args.debug) + comm = CommPCIe(pcie_bar, debug=args.debug) elif args.usb: from litex.tools.remote.comm_usb import CommUSB if args.usb_pid is None and args.usb_vid is None: