mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 16:59:50 +03:00
psram check #1933
This commit is contained in:
@@ -106,7 +106,11 @@ const UploadDownload = () => {
|
|||||||
'.bin';
|
'.bin';
|
||||||
|
|
||||||
const getPlatform = () => {
|
const getPlatform = () => {
|
||||||
if (data.flash_chip_size === 16384 && data.esp_platform !== 'ESP32-S3') {
|
if (
|
||||||
|
data.flash_chip_size >= 16384 &&
|
||||||
|
data.esp_platform === 'ESP32' &&
|
||||||
|
data.psram
|
||||||
|
) {
|
||||||
return data.esp_platform + '-16M';
|
return data.esp_platform + '-16M';
|
||||||
}
|
}
|
||||||
return data.esp_platform;
|
return data.esp_platform;
|
||||||
|
|||||||
Reference in New Issue
Block a user