mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
esp_psram: Downgrade "not found" to a warning if "ignore not found" set.
This avoids ~5 errors being logged during boot if the board has no PSRAM but is configured to boot anyway. Closes https://github.com/espressif/esp-idf/pull/18705 Signed-off-by: Angus Gratton <angus@redyak.com.au>
This commit is contained in:
@@ -219,7 +219,7 @@ static esp_err_t s_psram_chip_init(void)
|
||||
ret = esp_psram_impl_enable();
|
||||
if (ret != ESP_OK) {
|
||||
#if CONFIG_SPIRAM_IGNORE_NOTFOUND
|
||||
ESP_EARLY_LOGE(TAG, "PSRAM enabled but initialization failed. Bailing out.");
|
||||
ESP_EARLY_LOGW(TAG, "PSRAM enabled but initialization failed. Bailing out.");
|
||||
#endif
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user