system: fix esp32 chip info not listing esp32 pico v3-02 as having embedded spiram

Closes https://github.com/espressif/esp-idf/issues/11233
This commit is contained in:
Marius Vikhammer 2023-04-24 11:23:15 +08:00
parent ef4b1b7704
commit b2c883f0c0

View File

@ -35,7 +35,8 @@ void esp_chip_info(esp_chip_info_t* out_info)
package == EFUSE_RD_CHIP_VER_PKG_ESP32PICOV302) {
out_info->features |= CHIP_FEATURE_EMB_FLASH;
}
if(package == EFUSE_RD_CHIP_VER_PKG_ESP32D0WDR2V3) {
if(package == EFUSE_RD_CHIP_VER_PKG_ESP32D0WDR2V3 ||
package == EFUSE_RD_CHIP_VER_PKG_ESP32PICOV302) {
out_info->features |= CHIP_FEATURE_EMB_PSRAM;
}
}