From 9ddd08c502575bfd72ee489634fb5296f24f6f91 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 23131f0cebb..63017163891 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; } }