Re: LVGL support and more examples

Lazar Chervenkov <lazar.chervenkov@...>

Hi Jan,

I'm using Nordic Connect SDK with Segger Embedded Studio, maybe that's why I'm confused. There is no option to select the shield in Segger and the nordic people forwarded me to Zephyr for help. So it's a magic circle :)

I also have a custom display shield with different spi pins and from the shield documentation I cannot understand how to remap the spi signals. The display driver is also different and I have to write it (it's a Sharp MIP LCD that I use).

Many thanks!

On Tue, Aug 18, 2020 at 8:29 AM Jan Van Winkel <jan.van_winkel@...> wrote:
Hi Lazar,

Not sure if your question is about how to tell LVGL which display to use or how to select a specific display controller.

The former is done by setting CONFIG_LVGL_DISPLAY_DEV_NAME to the same name as used by the display controller. Note that in case you are using any of the supported display shields, the shields config will take care of setting the correct value for CONFIG_LVGL_DISPLAY_DEV_NAME.

The later one, display controller selection, depends on the board you are using but all in-tree nrf52 boards, to my knowledge, make use of display shields and do not have on board display controllers. So the only thing you need is to pass the correct shield name during build.
For example to use the NRF52840 DK with an adafruit 2.8" TFT shield you can use following command to build: west build -b nrf52840dk_nrf52840 samples/gui/lvgl -- -DSHIELD=adafruit_2_8_tft_touch_v2


On Mon, Aug 17, 2020 at 10:49 PM Lazar Chervenkov <lazar.chervenkov@...> wrote:
Hi Carles,

I don't understand how to select which driver is used for the current project, as all are listed in the kconfig.


On Tue, 4 Aug 2020, 16:59 Cufi, Carles, <Carles.Cufi@...> wrote:

Hi there,


LVGL has been updated to version 7 in master:


Changing the display driver is done in Kconfig (and I assume Devicetree):





From: devel@... <devel@...> On Behalf Of lazar.chervenkov via
Sent: 04 August 2020 14:27
To: devel@...
Subject: [Zephyr-devel] LVGL support and more examples


Hi there,

I've been using LVGL for creating GUIs together with Nordic nRF5 SDK. I have to move to nRF Connect SDK for developing with nRF53 (which is actually based on Zephyr project). I'm quite new to Zephyr and I opened the LVGL example for nRF52840. But I'm using a different display driver and I cannot find a way how to change it. The information in the documentation is quite poor for this topic. Is there a plan to also move to LVGL version 7, as the one that is used now is version 6. 

Many thanks!

Mag. Lazar Chervenkov
phone: +4367761600476
e-mail: lazar.chervenkov@...

Join to automatically receive all group messages.