Missing functionalities


I’m making a interface to run bus signs for a demo. I need to use some modules that are included on micropython but missing on the lv_micropython.

What MCU/Processor/Board and compiler are you using?

Onion Omega and Pycharm.

What do you want to achieve?

I have some python 3 scripts that I’m trying to port to micropython but I’m not able to install the libraries I need.
The las thing I tried was to run the code using subprocess module, but is missing too.

What have you tried so far?

Import doesn’t work, I tried unsuccessfully to install the libraries but the micropython seems to be a light version, missing some features. I also tried to install upip
I tried to use the help command on the command prompt to see all the available modules with no luck.

Please clarify, are you trying to import Python modules or Micropython modules?

Please provide a complete script that demonstrates the problem.
Complete script means - something I could copy paste and run on my side.

The only thing we’ve added to our version of Micropython is LVGL. Everything else should be identical to upstream Micropython.

Could you let us know exactly which modules you are trying to import?

import lvgl as lv # No Error
But :
lv.style_copy(…) # Not this style_copy Module, Only style_list_t and style_t
Ready to use gauge ()

I am using https://github.com/OPHoperHPO/lilygo-ttgo-twatch-2020-micropython-lobo

Where should I modify?


Hi @SamWang!

The ttgo twatch project is using LVGL version 7.
style_copy function was removed in version 7, and the entire style system was changed.

Please read https://docs.lvgl.io/v7/en/html/overview/style.html