[ATL-1539] Integrate FWUploader into IDE2 (#466)

This commit is contained in:
Francesco Stasi
2021-07-28 16:42:38 +02:00
committed by GitHub
parent 65152731f9
commit 20c2e1c67e
3 changed files with 175 additions and 2 deletions

View File

@@ -13,16 +13,19 @@ export class ExecutableServiceImpl implements ExecutableService {
clangdUri: string;
cliUri: string;
lsUri: string;
fwuploaderUri: string;
}> {
const [ls, clangd, cli] = await Promise.all([
const [ls, clangd, cli, fwuploader] = await Promise.all([
getExecPath('arduino-language-server', this.onError.bind(this)),
getExecPath('clangd', this.onError.bind(this), undefined, true),
getExecPath('arduino-cli', this.onError.bind(this)),
getExecPath('arduino-fwuploader', this.onError.bind(this)),
]);
return {
clangdUri: FileUri.create(clangd).toString(),
cliUri: FileUri.create(cli).toString(),
lsUri: FileUri.create(ls).toString(),
fwuploaderUri: FileUri.create(fwuploader).toString(),
};
}