MicroPython examples for V7?

Something probably changed because it used to work with older versions.
Actually it’s not clear to me why the callbacks receive void * instead of lv_fs_file_t *, which could spare all these horrible casts.

@kisvegabor, @embeddedt Do you know if there is a reason the FS callbacks receive void * file_p instead of lv_fs_file_t * file_p? I would very much like to change that in lv_fs.h such that casts could be eliminated from Micropython.

@uraich -

  • Best thing would be to fix lv_fs.h on LVGL and get rid of all these casts on Microython.
    I don’t mind converting fs_driver.py to a class but I think this change should be applied in lv_micropython/lib. I don’t see a reason to keep a separate implementation of fs driver in the demo. We can also freeze it in lv_micropython/lib such that it is always available same as display_driver_utils.py.
  • The mis-alignment glitch seems to be fixed!