Skip to content

Fail safety with invalid external resources #1553

Answered by JF002
azymohliad asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @azymohliad, and thanks for your work on Watchmate!

I'm sorry about your bricked PineTime, and, to be honest, I have a hard time understanding how this could have happened. Could you maybe send such corrupted resource file to this conversation? Or point me to a buggy version of Watchmate that would allow me to reproduce the issue on my devkit?

Currently, we use 2 types of resources : pictures and fonts.
For pictures, LVGL will try to open the file. If the file does not exist, LVGL will simply ignore it, and display nothing where the picture would have been located. If the content of the picture is not fully uploaded, lvgl will simply display garbage for the missing parts.
Regarding fon…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@azymohliad
Comment options

@JF002
Comment options

Answer selected by azymohliad
Comment options

You must be logged in to vote
2 replies
@azymohliad
Comment options

@azymohliad
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants