mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-26 12:50:30 +00:00
bugfix(psram): configure MMU after PSRAM initialization
This commit is contained in:
@@ -127,7 +127,7 @@ esp_spiram_size_t esp_spiram_get_chip_size(void)
|
||||
{
|
||||
if (!spiram_inited) {
|
||||
ESP_EARLY_LOGE(TAG, "SPI RAM not initialized");
|
||||
return ESP_SPIRAM_SIZE_INVALID;
|
||||
abort();
|
||||
}
|
||||
psram_size_t psram_size = psram_get_size();
|
||||
switch (psram_size) {
|
||||
|
||||
Reference in New Issue
Block a user