Skip to content
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

Fix mechanism for OTA upgrade from Sming 4.2 #2728

Merged
merged 3 commits into from
Mar 11, 2024

Conversation

mikee47
Copy link
Contributor

@mikee47 mikee47 commented Mar 9, 2024

Further to discussion in #2727 this PR addresses issues arising when attempting to migrate from a Sming 4.2 application using OTA only.

  • Once we have a good path for migrating from 4.2 via OTA, update documentation and include any appropriate code improvements

Copy link

what-the-diff bot commented Mar 9, 2024

PR Summary

  • Fix operator bool() method in the PartitionTable class
    Now returns the opposite of whether "mEntries" is empty, which is the intended behaviour. This means that the operator will show if there are items in the collection instead of indicating whether it's empty.

  • Allow FullType casting for Device::Type
    Supports building partition tables in code

  • Document
    Describe method for installing partition table on legacy devices via OTA.

@slaff slaff added this to the 5.2.0 milestone Mar 10, 2024
@mikee47 mikee47 changed the title [WIP] Fix mechanism for OTA upgrade from Sming 4.2 Fix mechanism for OTA upgrade from Sming 4.2 Mar 10, 2024
@mikee47 mikee47 force-pushed the fix/partition-table-ota branch from a07b540 to b95b7d6 Compare March 10, 2024 19:48
@slaff slaff merged commit a0b1746 into SmingHub:develop Mar 11, 2024
46 checks passed
@mikee47 mikee47 deleted the fix/partition-table-ota branch March 16, 2024 14:23
@slaff slaff mentioned this pull request May 8, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants