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:
Angus Gratton
2026-06-10 15:15:47 +08:00
committed by C.S.M
parent a5591852c5
commit 443f1bb791
7 changed files with 13 additions and 6 deletions
@@ -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;
}