How to use lvgl on pc386 BSP.

Christian Mauderer christian.mauderer at embedded-brains.de
Mon Sep 7 09:22:54 UTC 2020


Hello Karel,

note that rtems-littlevgl is still quite new and most likely _only_ used
on BBB and (with an external display driver) on the imx. I don't think
anyone tried it on pc686.

On 07/09/2020 11:06, Karel Gardas wrote:
> 
> Hello,
> 
> I'm trying to compile rtems-littlevgl on pc686 BSP from RTEMS 5.1
> release built with RSB -- hence with libbsd compiled in.
> 
> I'm hitting following compilation failure:
> 
> ../../lv_drivers/indev/evdev.c:16:10: fatal error: dev/evdev/input.h: No
> such file or directory
>  #include <dev/evdev/input.h>
>           ^~~~~~~~~~~~~~~~~~~
> compilation terminated.
> 

I checked the evdev/input.h. That one should definitively be there if
libbsd is installed. There is no condition for that file. Are you sure
that libbsd is compiled and installed correctly? To check that please
make sure that "libbsd.a" in the $PREFIX/i386-rtems5/pc686/lib directory
exists.

> 
> when I disable USE_BSD_EVDEV in build/i386-rtems5-pc686/lv_drv_conf.h I
> hit following error:
> 
> ../../lv_drivers/display/fbdev.c:23:10: fatal error: sys/consio.h: No
> such file or directory
>  #include <sys/consio.h>
>           ^~~~~~~~~~~~~~
> compilation terminated.
> 

Do you need the input devices? Or the libbsd framebuffer? Or only one of
them?

There is an option to compile without drivers in case you have a custom
display connected. Like I said: It's still a quite new repository
therefore there are not yet a lot of combinations. We still have to find
out what's normally used.

Best regards

Christian

> 
> I've configured example with:
> 
> ./waf configure --prefix=$HOME/sfw/rtems/5.1 --rtems-bsp=i386/pc686
> 
> 
> Errors above makes me curious if libbsd for pc686 and libbsd build for
> beagle bone black are different as it looks like mine's (pc686) is
> missing some framebuffer related code. Please correct me if I'm wrong.
> 
> Thanks,
> Karel
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
> 

-- 
--------------------------------------------
embedded brains GmbH
Herr Christian Mauderer
Dornierstr. 4
D-82178 Puchheim
Germany
email: christian.mauderer at embedded-brains.de
Phone: +49-89-18 94 741 - 18
Fax:   +49-89-18 94 741 - 08
PGP: Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


More information about the users mailing list