Skip to content

Embedded GUI Using Linux Frame Buffer Device with Slint UI and std #2832

Answered by ogoffart
dongjian asked this question in Q&A
Discussion options

You must be logged in to vote

Not out of the box ( #712 )

But this is possible if you use a custom platform and the software renderer. (unfortunately not the GL renderer at this point)

The documentation on how to create a custom platform is here: https://docs.rs/slint/latest/slint/docs/mcu/index.html
This talks about no_std environment, but you can also use it with std environment (with the std feature of slint)
You'll have to use some library to draw the image on the frame buffer. Maybe there is a crate for that.

This would make for a good demo actually.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nilclass
Comment options

@tronical
Comment options

Answer selected by dongjian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants