mirror of
https://github.com/espressif/esp-idf.git
synced 2026-08-18 06:35:35 +03:00
feat(app_update): add API for checking the spi mode compatibility
New API to check the SPI flash mode from the incoming firmware image during OTA updates could prevent bootloader/app incompatibility of DIO vs QIO flash modes. More information: - https://github.com/espressif/esp-hosted-mcu/issues/143#issuecomment-3741753788 - https://github.com/espressif/esp-idf/issues/9674#issuecomment-1232533757 - https://github.com/espressif/esp-idf/issues/9542#issuecomment-1211317354
This commit is contained in:
@@ -294,6 +294,10 @@ static const esp_err_msg_t esp_err_msg_table[] = {
|
||||
ERR_TBL_IT(ESP_ERR_OTA_ALREADY_IN_PROGRESS), /* 5383 0x1507 Error if another OTA operation is
|
||||
already in progress on the same
|
||||
partition */
|
||||
# endif
|
||||
# ifdef ESP_ERR_OTA_SPI_MODE_MISMATCH
|
||||
ERR_TBL_IT(ESP_ERR_OTA_SPI_MODE_MISMATCH), /* 5384 0x1508 Error if the firmware's SPI flash mode
|
||||
doesn't match the running firmware */
|
||||
# endif
|
||||
// components/efuse/include/esp_efuse.h
|
||||
# ifdef ESP_ERR_EFUSE
|
||||
|
||||
Reference in New Issue
Block a user