Skip to content

Commit 00d0b7f

Browse files
authored
Improve message when updating ESP32-S2 without target name (#94)
***NO_CI***
1 parent fb147f0 commit 00d0b7f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nanoFirmwareFlasher/Esp32Operations.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,13 @@ internal static async System.Threading.Tasks.Task<ExitCodes> UpdateFirmwareAsync
142142
}
143143
else if (esp32Device.ChipType == "ESP32-S2")
144144
{
145-
// can't guess with certainty for this series, better have the user provide
146-
// a target name
145+
// can't guess with certainty for this series, better request a target name to the user
147146

148147
Console.ForegroundColor = ConsoleColor.Red;
149148

150149
Console.WriteLine("");
151-
Console.WriteLine($"No target name was provided! Please provide an appropriate one adding this option '--target MY_ESP32_S2_TARGET'.");
150+
Console.WriteLine($"For ESP32-S2 series nanoff can't make an educated guess on the best target to use");
151+
Console.WriteLine($"Please provide an appropriate one by adding this option '--target MY_ESP32_S2_TARGET'.");
152152
Console.WriteLine("");
153153

154154
Console.ForegroundColor = ConsoleColor.White;

0 commit comments

Comments
 (0)