Skip to content

Commit

Permalink
fix: upload waits for monitor connection to close
Browse files Browse the repository at this point in the history
Closes #1783

Signed-off-by: Akos Kitta <[email protected]>
  • Loading branch information
Akos Kitta committed Aug 24, 2023
1 parent fa1ed52 commit 6b44aca
Show file tree
Hide file tree
Showing 6 changed files with 809 additions and 125 deletions.
6 changes: 5 additions & 1 deletion arduino-ide-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,11 @@
],
"arduino": {
"arduino-cli": {
"version": "0.34.0"
"version": {
"owner": "cmaglie",
"repo": "arduino-cli",
"commitish": "monitor_close_grpc"
}
},
"arduino-fwuploader": {
"version": "2.4.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,29 @@ export namespace LoadSketchRequest {
}
}

export class SketchProfile extends jspb.Message {
getName(): string;
setName(value: string): SketchProfile;
getFqbn(): string;
setFqbn(value: string): SketchProfile;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): SketchProfile.AsObject;
static toObject(includeInstance: boolean, msg: SketchProfile): SketchProfile.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: SketchProfile, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): SketchProfile;
static deserializeBinaryFromReader(message: SketchProfile, reader: jspb.BinaryReader): SketchProfile;
}

export namespace SketchProfile {
export type AsObject = {
name: string,
fqbn: string,
}
}

export class LoadSketchResponse extends jspb.Message {
getMainFile(): string;
setMainFile(value: string): LoadSketchResponse;
Expand All @@ -443,6 +466,15 @@ export class LoadSketchResponse extends jspb.Message {
setDefaultPort(value: string): LoadSketchResponse;
getDefaultProtocol(): string;
setDefaultProtocol(value: string): LoadSketchResponse;
clearProfilesList(): void;
getProfilesList(): Array<SketchProfile>;
setProfilesList(value: Array<SketchProfile>): LoadSketchResponse;
addProfiles(value?: SketchProfile, index?: number): SketchProfile;

hasDefaultProfile(): boolean;
clearDefaultProfile(): void;
getDefaultProfile(): SketchProfile | undefined;
setDefaultProfile(value?: SketchProfile): LoadSketchResponse;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): LoadSketchResponse.AsObject;
Expand All @@ -464,6 +496,8 @@ export namespace LoadSketchResponse {
defaultFqbn: string,
defaultPort: string,
defaultProtocol: string,
profilesList: Array<SketchProfile.AsObject>,
defaultProfile?: SketchProfile.AsObject,
}
}

Expand Down
Loading

0 comments on commit 6b44aca

Please sign in to comment.