soc/tools/remoter/server: add some printfs
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 17 Nov 2015 14:18:46 +0000 (15:18 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 17 Nov 2015 14:18:46 +0000 (15:18 +0100)
litex/soc/tools/remote/server.py

index bccae1d53cc1f7893257eb132b2d16f413589209..f8058686e112eb04be6de0cca1fbc501ecde36e1 100644 (file)
@@ -80,10 +80,11 @@ def _get_args():
     return parser.parse_args()
 
 def main():
+    print("LiteX remote server")
     args = _get_args()
     if args.comm == "uart":
         from litex.soc.tools.remote import CommUART
-        port = args.port if not args.port.isdigit() else int(args.port)
+        print("Using CommUART, port: {} / baudrate: {}".format(args.port, args.baudrate))
         comm = CommUART(args.port if not args.port.isdigit() else int(args.port),
                         args.baudrate,
                         debug=False)