From d6f47b3bb0cbb263feef8260ee029c8e4c055656 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Tue, 14 Apr 2015 21:47:38 -0600 Subject: [PATCH] benchmarks/examples: give comm_serial a device These examples/benchmarks require manual handholding in many cases anyway. Also, for comm_tcp manual changes are required. Instead of nursing a bunch of different pdb and ddbs, we probably want to force the user to copy and edit a template that we then gitignore. --- benchmarks/ddb.pyon | 2 +- examples/master/ddb.pyon | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/ddb.pyon b/benchmarks/ddb.pyon index 7dce005a0..3842a5e18 100644 --- a/benchmarks/ddb.pyon +++ b/benchmarks/ddb.pyon @@ -3,7 +3,7 @@ "type": "local", "module": "artiq.coredevice.comm_serial", "class": "Comm", - "arguments": {} + "arguments": {"serial_dev": "/dev/ttyUSB1"} }, "core": { "type": "local", diff --git a/examples/master/ddb.pyon b/examples/master/ddb.pyon index 26c419701..b602d367a 100644 --- a/examples/master/ddb.pyon +++ b/examples/master/ddb.pyon @@ -3,7 +3,7 @@ "type": "local", "module": "artiq.coredevice.comm_serial", "class": "Comm", - "arguments": {} + "arguments": {"serial_dev": "/dev/ttyUSB1"} }, "core": { "type": "local",