mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-08 11:56:36 +00:00
toast compile/verify
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
parent
42d2285fa8
commit
deea43008d
@ -84,8 +84,9 @@ export class UploadSketch extends SketchContribution {
|
|||||||
port: selectedPort.address,
|
port: selectedPort.address,
|
||||||
optimizeForDebug: this.editorMode.compileForDebug
|
optimizeForDebug: this.editorMode.compileForDebug
|
||||||
});
|
});
|
||||||
|
this.messageService.info('Done uploading.', { timeout: 1000 });
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
await this.messageService.error(e.toString());
|
this.messageService.error(e.toString());
|
||||||
} finally {
|
} finally {
|
||||||
if (monitorConfig) {
|
if (monitorConfig) {
|
||||||
await this.monitorConnection.connect(monitorConfig);
|
await this.monitorConnection.connect(monitorConfig);
|
||||||
|
@ -71,8 +71,9 @@ export class VerifySketch extends SketchContribution {
|
|||||||
fqbn,
|
fqbn,
|
||||||
optimizeForDebug: this.editorMode.compileForDebug
|
optimizeForDebug: this.editorMode.compileForDebug
|
||||||
});
|
});
|
||||||
|
this.messageService.info('Done compiling.', { timeout: 1000 });
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
await this.messageService.error(e.toString());
|
this.messageService.error(e.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user