diff --git a/nanoFirmwareFlasher.Library/Esp32Operations.cs b/nanoFirmwareFlasher.Library/Esp32Operations.cs index 2a2a55fa..f318f323 100644 --- a/nanoFirmwareFlasher.Library/Esp32Operations.cs +++ b/nanoFirmwareFlasher.Library/Esp32Operations.cs @@ -240,31 +240,12 @@ public static async System.Threading.Tasks.Task UpdateFirmwareAsync( } else if (esp32Device.ChipType == "ESP32-S3") { - string revisionSuffix; - - if (esp32Device.ChipName.Contains("revision 3") || esp32Device.ChipName.Contains("revision 4")) - { - // all the others (rev3 and rev4) will take rev3 - revisionSuffix = "_REV3"; - } - else - { - Console.ForegroundColor = ConsoleColor.Red; - - Console.WriteLine(""); - Console.WriteLine($"Unsupported ESP32_S3 revision."); - Console.WriteLine(""); - - Console.ForegroundColor = ConsoleColor.White; - - return ExitCodes.E9000; - } + // ESP32_S3 has only one revision // compose target name targetName = $"ESP32_S3"; } - Console.ForegroundColor = ConsoleColor.Blue; Console.WriteLine("");