Skip to content

Commit 727aa25

Browse files
committed
🔖 Patch 0.2.2 (#87)
* Hotfix: support WD version 0.3.0
1 parent 07ec609 commit 727aa25

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

WARDuino

Submodule WARDuino updated 477 files

src/DebugBridges/HardwareDebugBridge.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export class HardwareDebugBridge extends AbstractDebugBridge {
114114
let lastStdOut = "";
115115
this.listener.notifyProgress(Messages.reset);
116116

117-
const upload = exec(`make flash PORT=${this.portAddress} FQBN=${this.fqbn}`, {cwd: path}, (err, stdout, stderr) => {
117+
const upload = exec(`make flash PORT=${this.portAddress} FQBN=${this.fqbn} PAUSED=true`, {cwd: path}, (err, stdout, stderr) => {
118118
console.error(err);
119119
lastStdOut = stdout + stderr;
120120
this.listener.notifyProgress(Messages.initialisationFailure);
@@ -133,7 +133,7 @@ export class HardwareDebugBridge extends AbstractDebugBridge {
133133
}
134134

135135
public compileArduino(path: string, resolver: (value: boolean) => void, reject: (value: any) => void): void {
136-
const compile = spawn("make", ["compile", `FQBN=${this.fqbn}`], {
136+
const compile = spawn("make", ["compile", `FQBN=${this.fqbn}`, `BINARY=${this.tmpdir}/upload.wasm`, 'PAUSED=true'], {
137137
cwd: path
138138
});
139139

0 commit comments

Comments
 (0)