samples: gui: Add support for imx rt boards to lvgl sample

Adds board configurations to support the mimxrt1050_evk and
mimxrt1060_evk boards in the lvgl sample.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
Maureen Helm 2019-01-03 13:47:26 -06:00 committed by Kumar Gala
commit dedc82d005
4 changed files with 42 additions and 1 deletions

View file

@ -20,6 +20,16 @@ or a simulated display environment in a native Posix application:
- :ref:`native_posix` - :ref:`native_posix`
- `SDL2`_ - `SDL2`_
or
- :ref:`mimxrt1050_evk`
- `RK043FN02H-CT`
or
- :ref:`mimxrt1060_evk`
- `RK043FN02H-CT`
Wiring Wiring
****** ******
@ -73,3 +83,4 @@ References
.. _Adafruit 2.2 inch TFT Display: https://www.adafruit.com/product/1480 .. _Adafruit 2.2 inch TFT Display: https://www.adafruit.com/product/1480
.. _nRF52840 Preview development kit: http://www.nordicsemi.com/eng/Products/nRF52840-Preview-DK .. _nRF52840 Preview development kit: http://www.nordicsemi.com/eng/Products/nRF52840-Preview-DK
.. _SDL2: https://www.libsdl.org .. _SDL2: https://www.libsdl.org
.. _RK043FN02H-CT: https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/i.mx-applications-processors/i.mx-rt-series/4.3-lcd-panel:RK043FN02H-CT

View file

@ -0,0 +1,15 @@
#
# Copyright (c) 2019, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
CONFIG_LVGL_DISPLAY_DEV_NAME="ELCDIF_1"
CONFIG_LVGL_HOR_RES=480
CONFIG_LVGL_VER_RES=272
CONFIG_LVGL_VDB_SIZE=16
CONFIG_LVGL_DPI=128
CONFIG_LVGL_BITS_PER_PIXEL=0
CONFIG_LVGL_COLOR_DEPTH_16=y
CONFIG_DISPLAY_LOG_LEVEL_DBG=y

View file

@ -0,0 +1,15 @@
#
# Copyright (c) 2019, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
CONFIG_LVGL_DISPLAY_DEV_NAME="ELCDIF_1"
CONFIG_LVGL_HOR_RES=480
CONFIG_LVGL_VER_RES=272
CONFIG_LVGL_VDB_SIZE=16
CONFIG_LVGL_DPI=128
CONFIG_LVGL_BITS_PER_PIXEL=0
CONFIG_LVGL_COLOR_DEPTH_16=y
CONFIG_DISPLAY_LOG_LEVEL_DBG=y

View file

@ -4,5 +4,5 @@ sample:
tests: tests:
test: test:
harness: display harness: display
platform_whitelist: nrf52840_pca10056 reel_board platform_whitelist: nrf52840_pca10056 reel_board mimxrt1050_evk mimxrt1060_evk
tags: samples display gui tags: samples display gui