XuNeo / luavgl

lua + lvgl = luavgl An optimized lvgl Lua binding
MIT License
57 stars 13 forks source link

add more documents #6

Closed xueliu closed 1 year ago

xueliu commented 1 year ago

Hello Xu,

Thanks for your great work.

Can you add more information about how to prepare the lvgl environment ?

I remember that the luavgl library should be a dynamic library (.so file). so lua can find it when local lvgl = require("lvgl"). It it right ?

XuNeo commented 1 year ago

Yes. Currently, luavgl mainly targets for embedded devices, thus no .so file needed. Following the method in simulator, we can simply register lvgl module to lua by calling luaL_requiref.

xueliu commented 1 year ago

The embedded devices means micro controller not embedded Linux device like raspberry pi. Is it right ?

XuNeo commented 1 year ago

Yes. For raspberry pi, the simulator provided can run out of box.

xueliu commented 1 year ago

It is very appreciated for your reply