Skip to content

Commit c22aa59

Browse files
committed
Fix: update to revised WDCLI interface
1 parent d00b0c2 commit c22aa59

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/DebugBridges/EmulatedDebugBridge.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export class EmulatedDebugBridge extends AbstractDebugBridge {
164164

165165
protected spawnEmulatorProcess(): ChildProcess {
166166
// TODO package extension with upload.wasm and compile WARDuino during installation.
167-
return spawn(`${this.sdk}/build-emu/wdcli`, ['--file', `${this.tmpdir}/upload.wasm`, '--socket', `${EMULATOR_PORT}`]);
167+
return spawn(`${this.sdk}/build-emu/wdcli`, [`${this.tmpdir}/upload.wasm`, '--socket', `${EMULATOR_PORT}`]);
168168
//return spawn(`echo`, ['"Listening"']);
169169
}
170170

src/DebugBridges/WOODDebugBridge.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export class WOODDebugBridge extends EmulatedDebugBridge {
8181
// TODO package extension with upload.wasm and compile WARDuino during installation.
8282
const port: string = vscode.workspace.getConfiguration().get("warduino.Port") ?? "/dev/ttyUSB0";
8383
const baudrate: string = vscode.workspace.getConfiguration().get("warduino.Baudrate") ?? "115200";
84-
return spawn(`${this.sdk}/build-emu/wdcli`, ['--file', `${this.tmpdir}/upload.wasm`, '--proxy', port, '--socket', `${EMULATOR_PORT}`, '--baudrate', baudrate]);
84+
return spawn(`${this.sdk}/build-emu/wdcli`, [`${this.tmpdir}/upload.wasm`, '--proxy', port, '--socket', `${EMULATOR_PORT}`, '--baudrate', baudrate]);
8585
// return spawn(`echo`, ['"Listening"']);
8686
}
8787
}

0 commit comments

Comments
 (0)