Skip to content

Commit cc982cd

Browse files
authored
PSRAM discovery is now performed for all targets (#264)
***NO_CI***
1 parent 6d0831f commit cc982cd

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

nanoFirmwareFlasher.Library/EspTool.cs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -246,19 +246,10 @@ public Esp32DeviceInfo GetDeviceDetails(
246246
// FEATHER_S2's have PSRAM, so don't even bother
247247
psramIsAvailable = PSRamAvailability.Yes;
248248
}
249-
else if (name.Contains("ESP32-C3")
250-
|| name.Contains("ESP32-S3"))
251-
{
252-
// all ESP32-C3/S3 SDK config have support for PSRAM, so don't even bother
253-
psramIsAvailable = PSRamAvailability.Undetermined;
254-
}
255249
else
256250
{
257251
// if a target name wasn't provided, check for PSRAM
258-
// except for ESP32_C3 and S3
259-
if (targetName == null
260-
&& !name.Contains("ESP32-C3")
261-
&& !name.Contains("ESP32-S3"))
252+
if (targetName == null)
262253
{
263254
psramIsAvailable = FindPSRamAvailable();
264255
}

0 commit comments

Comments
 (0)