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:
parent
606f8316dd
commit
dedc82d005
4 changed files with 42 additions and 1 deletions
|
@ -20,6 +20,16 @@ or a simulated display environment in a native Posix application:
|
|||
- :ref:`native_posix`
|
||||
- `SDL2`_
|
||||
|
||||
or
|
||||
|
||||
- :ref:`mimxrt1050_evk`
|
||||
- `RK043FN02H-CT`
|
||||
|
||||
or
|
||||
|
||||
- :ref:`mimxrt1060_evk`
|
||||
- `RK043FN02H-CT`
|
||||
|
||||
Wiring
|
||||
******
|
||||
|
||||
|
@ -73,3 +83,4 @@ References
|
|||
.. _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
|
||||
.. _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
|
||||
|
|
15
samples/gui/lvgl/boards/mimxrt1050_evk.conf
Normal file
15
samples/gui/lvgl/boards/mimxrt1050_evk.conf
Normal 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
|
15
samples/gui/lvgl/boards/mimxrt1060_evk.conf
Normal file
15
samples/gui/lvgl/boards/mimxrt1060_evk.conf
Normal 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
|
|
@ -4,5 +4,5 @@ sample:
|
|||
tests:
|
||||
test:
|
||||
harness: display
|
||||
platform_whitelist: nrf52840_pca10056 reel_board
|
||||
platform_whitelist: nrf52840_pca10056 reel_board mimxrt1050_evk mimxrt1060_evk
|
||||
tags: samples display gui
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue