lvgl / lv_binding_rust

LVGL bindings for Rust. A powerful and easy-to-use embedded GUI with many widgets, advanced visual effects (opacity, antialiasing, animations) and low memory requirements (16K RAM, 64K Flash).
MIT License
687 stars 71 forks source link

LVGL-rs on Raspberry Pi #33

Closed MGlolenstine closed 1 year ago

MGlolenstine commented 4 years ago

Will this library work on RPi CM3+ with or without X?

I'm trying to work on an "embedded" GUI, but Linux and it's framebuffer isn't mentioned in the list of "supported displays", so I'm unsure. Lvgl itself can be run on Raspberry Pi, but I'm wondering what's the status of it in lvgl-rs.

rafaelcaricio commented 4 years ago

I didn't try to run in Raspberry Pi, but I see no reason why it wouldn't work. As long as you have access to the framebuffer, you can create your own embedded-graphics driver for it. I run lvgl-rs on nRF52832 platform which are way less powerful than a Raspberry Pi.

MGlolenstine commented 4 years ago

Oh, so framebuffer driver needs to be implemented before we can use it. Then that's great news, I'll look into doing that and make it work. The question wasn't about performance, but about ability to use (linux software) framebuffers and draw onto screens detected by OS and not baremetal.

Thanks!

rafaelcaricio commented 4 years ago

Cool, let me know how it goes. 🙂

nia-e commented 1 year ago

Once #64 gets merged native framebuffer support should be added if you're still interested, @MGlolenstine

MGlolenstine commented 1 year ago

I'm not in the immediate need of this, as I've had to switch projects due to unrelated issues, but I'd love to have it accessible if I return to the project someday :)