Skip to content

Commit d29af69

Browse files
Magpie Embeddedpaulober
authored andcommitted
Add picotool installation to Zephyr setup
1 parent ef8999d commit d29af69

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/commands/getPaths.mts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,13 @@ export class SetupZephyrCommand extends CommandWithResult<string | undefined> {
651651
}
652652
window.showInformationMessage("Ninja installed.");
653653

654+
this._logger.info("Installing Picotool");
655+
const picotoolResult = await downloadAndInstallPicotool("2.1.1");
656+
if (!picotoolResult) {
657+
window.showErrorMessage("Could not install Ninja. Exiting Zephyr Setup");
658+
}
659+
window.showInformationMessage("Picotool installed.");
660+
654661
const python3Path = await findPython();
655662
if (!python3Path) {
656663
this._logger.error("Failed to find Python3 executable.");

0 commit comments

Comments
 (0)