From 895c21cc6ba89c178b1cb01d3658d8e9ba2b517a Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Mon, 24 Apr 2023 11:23:15 +0800 Subject: [PATCH] system: fix esp32 chip info not listing esp32 pico v3-02 as having embedded spiram Closes https://github.com/espressif/esp-idf/issues/11233 --- components/esp_hw_support/port/esp32/chip_info.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/esp_hw_support/port/esp32/chip_info.c b/components/esp_hw_support/port/esp32/chip_info.c index 23131f0ceb..6301716389 100644 --- a/components/esp_hw_support/port/esp32/chip_info.c +++ b/components/esp_hw_support/port/esp32/chip_info.c @@ -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; } }