mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-04 20:53:06 +08:00
Merge branch 'feature/esptool_download_by_dio_mdoe_when_config_qio_qout' into 'master'
Flash firmware by DIO mode if configuration is "DIO", "QIO" or "QOUT“ See merge request sdk/ESP8266_RTOS_SDK!664
This commit is contained in:
@ -621,12 +621,16 @@ static esp_err_t bootloader_main()
|
||||
return ESP_FAIL;
|
||||
}
|
||||
|
||||
update_flash_config(&fhdr);
|
||||
|
||||
ESP_LOGI(TAG, "ESP-IDF %s 2nd stage bootloader", IDF_VER);
|
||||
|
||||
ESP_LOGI(TAG, "compile time " __TIME__ );
|
||||
|
||||
#if defined(CONFIG_FLASHMODE_QIO) || defined(CONFIG_FLASHMODE_QOUT)
|
||||
fhdr.spi_mode = CONFIG_SPI_FLASH_MODE;
|
||||
#endif
|
||||
|
||||
update_flash_config(&fhdr);
|
||||
|
||||
print_flash_info(&fhdr);
|
||||
|
||||
return ESP_OK;
|
||||
|
Reference in New Issue
Block a user