soc/tools/remoter/server: add some printfs
This commit is contained in:
parent
1a92489555
commit
8ff31557c6
|
@ -80,10 +80,11 @@ def _get_args():
|
||||||
return parser.parse_args()
|
return parser.parse_args()
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
print("LiteX remote server")
|
||||||
args = _get_args()
|
args = _get_args()
|
||||||
if args.comm == "uart":
|
if args.comm == "uart":
|
||||||
from litex.soc.tools.remote import CommUART
|
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),
|
comm = CommUART(args.port if not args.port.isdigit() else int(args.port),
|
||||||
args.baudrate,
|
args.baudrate,
|
||||||
debug=False)
|
debug=False)
|
||||||
|
|
Loading…
Reference in New Issue