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

Closes https://github.com/espressif/esp-idf/issues/11233
pull/11275/head
Marius Vikhammer 2023-04-24 11:23:15 +08:00
rodzic ca807ae9a0
commit 895c21cc6b
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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;
}
}