Skip to content

Commit

Permalink
Merge branch 'feature/add_log_when_mspi_timing_tuning_is_enabled_v5.1…
Browse files Browse the repository at this point in the history
…' into 'release/v5.1'

mspi: added timing tuning start, and success log (v5.1)

See merge request espressif/esp-idf!24053
  • Loading branch information
suda-morris committed Jul 4, 2023
2 parents 0f0b77b + 778a045 commit 934bdca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/esp_hw_support/mspi_timing_tuning.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,13 +333,15 @@ static void select_best_tuning_config(mspi_timing_config_t *config, uint32_t con
best_point = select_best_tuning_config_str(config, consecutive_length, end);
#endif
s_flash_best_timing_tuning_config = config->tuning_config_table[best_point];
ESP_EARLY_LOGI(TAG, "Flash timing tuning index: %d", best_point);
} else {
#if MSPI_TIMING_PSRAM_DTR_MODE
best_point = select_best_tuning_config_dtr(config, consecutive_length, end, reference_data, is_flash);
#elif MSPI_TIMING_PSRAM_STR_MODE
best_point = select_best_tuning_config_str(config, consecutive_length, end);
#endif
s_psram_best_timing_tuning_config = config->tuning_config_table[best_point];
ESP_EARLY_LOGI(TAG, "PSRAM timing tuning index: %d", best_point);
}
}

Expand Down

0 comments on commit 934bdca

Please sign in to comment.