soc/tools/remoter/server: add some printfs

This commit is contained in:
Florent Kermarrec 2015-11-17 15:18:46 +01:00
parent 1a92489555
commit 8ff31557c6
1 changed files with 2 additions and 1 deletions

View 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)