Jelajahi Sumber

hw-support: update C2 chip info to reflect that esp8684 has embedded flash

Closes https://github.com/espressif/esp-idf/issues/10175
Marius Vikhammer 3 tahun lalu
induk
melakukan
beeef9df2c
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      components/esp_hw_support/port/esp32c2/chip_info.c

+ 1 - 1
components/esp_hw_support/port/esp32c2/chip_info.c

@@ -14,5 +14,5 @@ void esp_chip_info(esp_chip_info_t *out_info)
     out_info->model = CHIP_ESP32C2;
     out_info->model = CHIP_ESP32C2;
     out_info->revision = efuse_hal_chip_revision();
     out_info->revision = efuse_hal_chip_revision();
     out_info->cores = 1;
     out_info->cores = 1;
-    out_info->features = CHIP_FEATURE_WIFI_BGN | CHIP_FEATURE_BLE;
+    out_info->features = CHIP_FEATURE_WIFI_BGN | CHIP_FEATURE_BLE | CHIP_FEATURE_EMB_FLASH;
 }
 }