Skip to content

Commit a993b23

Browse files
authored
Add output with parameters sent to esptool (#123)
1 parent 07219e2 commit a993b23

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

nanoFirmwareFlasher/EspTool.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,17 @@ private bool RunEspTool(
590590
RedirectStandardOutput = true
591591
};
592592

593+
594+
if (Verbosity == VerbosityLevel.Diagnostic)
595+
{
596+
Console.ForegroundColor = ConsoleColor.White;
597+
598+
Console.WriteLine("");
599+
Console.WriteLine("Executing esptool with the following parameters:");
600+
Console.WriteLine($"'{parameter}'");
601+
Console.WriteLine("");
602+
}
603+
593604
// start esptool and wait for exit
594605
if (!espTool.Start())
595606
{

0 commit comments

Comments
 (0)