Skip to content

Commit

Permalink
Merge branch 'feature/add_log_when_mspi_timing_tuning_is_enabled_v4.4…
Browse files Browse the repository at this point in the history
…' into 'release/v4.4'

mspi: added timing tuning start, and success log (v4.4)

See merge request espressif/esp-idf!24055
  • Loading branch information
suda-morris committed Jun 13, 2023
2 parents 5d38b02 + 00bd59d commit abb204f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/spi_flash/spi_flash_timing_tuning.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,13 +242,15 @@ static void select_best_tuning_config(spi_timing_config_t *config, uint32_t cons
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 SPI_TIMING_PSRAM_DTR_MODE
best_point = select_best_tuning_config_dtr(config, consecutive_length, end);
#elif SPI_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 abb204f

Please sign in to comment.