Re: LVGL support and more examples
Jan Van Winkel <jan.van_winkel@...>
toggle quoted messageShow quoted text
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: