lvgl / lv_binding_micropython

LVGL binding for MicroPython
MIT License
259 stars 164 forks source link

Missing machine.Timer implementation! #356

Open carey-zhou opened 1 month ago

carey-zhou commented 1 month ago

build micropython successfully

export PATH=/path/to/host/bin:$PATH
make -C ports/unix CROSS_COMPILE=arm-none-linux-gnueabihf-

Run fb_test.py failed

 micropython fb_test.py

Error output:

# micropython fb_test.py
Traceback (most recent call last):
  File "fb_test.py", line 6, in <module>
  File "lv_utils.py", line 45, in <module>
RuntimeError: Missing machine.Timer implementation!
kdschlosser commented 1 month ago

the unix port only works on unix like OS's that are 100% compatible with the Linux standard. . It doesn't work on OS's like macOS. This is because macOS is not a 100% Linux compatible.