Closed jath03 closed 1 year ago
Hi @jath03 !
Please specify: on which version of lv_micropython it happens, how you built it, what display driver you are using, etc.
Also provide information about the rpi board you are using, Linux version etc.
The error you are seeing means that timer_create function returned the error EINVAL
.
According to the docs this means:
Clock ID, sigev_notify, sigev_signo, or sigev_notify_thread_id is invalid.
In the code we call timer_create
like this:
So:
clockid
= CLOCK_MONOTONIC
sigev_notify
= SIGEV_SIGNAL
sigev_signo
= SIGRTMIN + sig_id
Looks like Linux on your side has some issue with one of these arguments.
lv_microython: commit 6ebf96a9032170a957dd07c83350480c08b79c78 built using the instructions in the README on the pi itself SDL driver Raspberry pi 3b Linux 5.15.32-v7+ Raspbian Lite
you can try this PR: https://github.com/lvgl/lv_binding_micropython/pull/278
This is probably related to https://github.com/lvgl/lv_binding_micropython/issues/273, fixed in https://github.com/lvgl/lv_binding_micropython/pull/274.
Please reopen if it doesn't fix it.
I'm trying to get the examples working on a raspberry pi through the unix port, but keep running into this error whenever an example uses the event_loop function.