You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@SergioGasquez I wonder why are you guys implementing this structure as part of espflash itself?
My understanding is, it needs to be a part of the factory/OTA image itself?
In esp-idf-sys, we have a simple app_desc! macro that folks can use to embed their own esp_app_desc_t structure in the ELF executable, which grabs current date and time, project = crate name (from Cargo.toml), and project version = crate version from Cargo.toml.
Shouldn't we use a similar approach for baremetal?
I mean, if you upload via OTA a new app image, you want this new app image to have a new version of this structure anyway, so my understanding is this is not related to espflash, which does not play a role during OTA anyway.
Details can be found in the ESP-IDF documentation:
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/app_image_format.html#application-description
The omission of this struct can cause issues when using newer versions of the bootloader.
The text was updated successfully, but these errors were encountered: