Skip to content

Commit

Permalink
PSRAM discovery is now performed for all targets (#264)
Browse files Browse the repository at this point in the history
***NO_CI***
  • Loading branch information
josesimoes authored Apr 26, 2024
1 parent 6d0831f commit cc982cd
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions nanoFirmwareFlasher.Library/EspTool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -246,19 +246,10 @@ public Esp32DeviceInfo GetDeviceDetails(
// FEATHER_S2's have PSRAM, so don't even bother
psramIsAvailable = PSRamAvailability.Yes;
}
else if (name.Contains("ESP32-C3")
|| name.Contains("ESP32-S3"))
{
// all ESP32-C3/S3 SDK config have support for PSRAM, so don't even bother
psramIsAvailable = PSRamAvailability.Undetermined;
}
else
{
// if a target name wasn't provided, check for PSRAM
// except for ESP32_C3 and S3
if (targetName == null
&& !name.Contains("ESP32-C3")
&& !name.Contains("ESP32-S3"))
if (targetName == null)
{
psramIsAvailable = FindPSRamAvailable();
}
Expand Down

0 comments on commit cc982cd

Please sign in to comment.