Skip to content

Help with STM32 drawing loop. #7017

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

You must be logged in to vote

You got the Slint hello world running on the screen driven from the M7, right?

And you're wondering how to read the data from the M4 while the event loop is running?

That's a good question and we would need to add some example about that.

And the thing is that I even don't know the answer. I was about to say to use slint::invoke_from_event_loop from an interrupt, but i realize that this feature is not implemented for our STM32 platform backend.

So your best option right now is to add a timer with slint::Timer and poll from data from the memory in the timer handler.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Bridiro
Comment options

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