Skip to content

Commit 6b44aca

Browse files
author
Akos Kitta
committed
fix: upload waits for monitor connection to close
Closes #1783 Signed-off-by: Akos Kitta <[email protected]>
1 parent fa1ed52 commit 6b44aca

File tree

6 files changed

+809
-125
lines changed

6 files changed

+809
-125
lines changed

arduino-ide-extension/package.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,11 @@
172172
],
173173
"arduino": {
174174
"arduino-cli": {
175-
"version": "0.34.0"
175+
"version": {
176+
"owner": "cmaglie",
177+
"repo": "arduino-cli",
178+
"commitish": "monitor_close_grpc"
179+
}
176180
},
177181
"arduino-fwuploader": {
178182
"version": "2.4.0"

arduino-ide-extension/src/node/cli-protocol/cc/arduino/cli/commands/v1/commands_pb.d.ts

+34
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,29 @@ export namespace LoadSketchRequest {
420420
}
421421
}
422422

423+
export class SketchProfile extends jspb.Message {
424+
getName(): string;
425+
setName(value: string): SketchProfile;
426+
getFqbn(): string;
427+
setFqbn(value: string): SketchProfile;
428+
429+
serializeBinary(): Uint8Array;
430+
toObject(includeInstance?: boolean): SketchProfile.AsObject;
431+
static toObject(includeInstance: boolean, msg: SketchProfile): SketchProfile.AsObject;
432+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
433+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
434+
static serializeBinaryToWriter(message: SketchProfile, writer: jspb.BinaryWriter): void;
435+
static deserializeBinary(bytes: Uint8Array): SketchProfile;
436+
static deserializeBinaryFromReader(message: SketchProfile, reader: jspb.BinaryReader): SketchProfile;
437+
}
438+
439+
export namespace SketchProfile {
440+
export type AsObject = {
441+
name: string,
442+
fqbn: string,
443+
}
444+
}
445+
423446
export class LoadSketchResponse extends jspb.Message {
424447
getMainFile(): string;
425448
setMainFile(value: string): LoadSketchResponse;
@@ -443,6 +466,15 @@ export class LoadSketchResponse extends jspb.Message {
443466
setDefaultPort(value: string): LoadSketchResponse;
444467
getDefaultProtocol(): string;
445468
setDefaultProtocol(value: string): LoadSketchResponse;
469+
clearProfilesList(): void;
470+
getProfilesList(): Array<SketchProfile>;
471+
setProfilesList(value: Array<SketchProfile>): LoadSketchResponse;
472+
addProfiles(value?: SketchProfile, index?: number): SketchProfile;
473+
474+
hasDefaultProfile(): boolean;
475+
clearDefaultProfile(): void;
476+
getDefaultProfile(): SketchProfile | undefined;
477+
setDefaultProfile(value?: SketchProfile): LoadSketchResponse;
446478

447479
serializeBinary(): Uint8Array;
448480
toObject(includeInstance?: boolean): LoadSketchResponse.AsObject;
@@ -464,6 +496,8 @@ export namespace LoadSketchResponse {
464496
defaultFqbn: string,
465497
defaultPort: string,
466498
defaultProtocol: string,
499+
profilesList: Array<SketchProfile.AsObject>,
500+
defaultProfile?: SketchProfile.AsObject,
467501
}
468502
}
469503

0 commit comments

Comments
 (0)