From 071d7da85a213f56c94ef44b4cfd62f6d16bb697 Mon Sep 17 00:00:00 2001 From: Adrian Stevens Date: Tue, 19 Nov 2024 16:04:18 -0800 Subject: [PATCH] Fix timeout after writing ESP binaries --- .../Commands/Current/Firmware/FirmwareWriteCommand.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/v2/Meadow.Cli/Commands/Current/Firmware/FirmwareWriteCommand.cs b/Source/v2/Meadow.Cli/Commands/Current/Firmware/FirmwareWriteCommand.cs index b489e7e5..a298c6dc 100644 --- a/Source/v2/Meadow.Cli/Commands/Current/Firmware/FirmwareWriteCommand.cs +++ b/Source/v2/Meadow.Cli/Commands/Current/Firmware/FirmwareWriteCommand.cs @@ -255,6 +255,8 @@ protected override async ValueTask ExecuteCommand() await WriteEspFiles(connection, deviceInfo, package); + await connection.WaitForMeadowAttach(); + // reset device if (connection != null && connection.Device != null) {