-
Notifications
You must be signed in to change notification settings - Fork 7.6k
App rollback /w Arduino as an ESP-IDF component #3318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions. |
So i found your issue because i ran into the same issue. To fix this:
|
For anyone stumbling upon this issue in the future, don’t miss the fact that the extern "C" bool verifyRollbackLater(){
return true;
} |
Hello, I use v1.0.3 as an ESP-IDF component and I'd wish to use the app rollback for ensuring functionality after broken firmware update (
Update.h
is used to perform the update). But after enablingCONFIG_APP_ROLLBACK_ENABLE
it does not simply work. After firmware update, the following snippet returnsESP_OTA_IMG_VALID
instead of expectedESP_OTA_IMG_PENDING_VERIFY
.And after restarting without marking the image as valid, the same (updated) image will be loaded again. Not the original one - there is no rollback.
My partition table looks like this:
If there is any relevant data missing, I'll be happy to add it.
Is there a way how to make it work? Is the problem with the combination of ESP-IDF/Arduino framework?
The text was updated successfully, but these errors were encountered: