mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 12:10:59 +00:00
bugfix(flash): improve spi cs timing settings for flash
cs setup time is recomemded to be 1.5T, and cs hold time is recommended to be 2.5T. (cs_setup = 1, cs_setup_time = 0; cs_hold = 1, cs_hold_time = 1)
This commit is contained in:
@@ -71,6 +71,7 @@
|
||||
#include "trax.h"
|
||||
#include "esp_ota_ops.h"
|
||||
#include "esp_efuse.h"
|
||||
#include "bootloader_common.h"
|
||||
|
||||
#define STRINGIFY(s) STRINGIFY2(s)
|
||||
#define STRINGIFY2(s) #s
|
||||
@@ -172,6 +173,8 @@ void IRAM_ATTR call_start_cpu0()
|
||||
abort();
|
||||
#endif
|
||||
}
|
||||
# else // If psram is uninitialized, we need to improve the flash cs timing.
|
||||
bootloader_common_set_flash_cs_timing();
|
||||
#endif
|
||||
|
||||
ESP_EARLY_LOGI(TAG, "Pro cpu up.");
|
||||
|
Reference in New Issue
Block a user