boards: nxp: mimxrt1050: enable PXP and apply optimized LVGL settings
Enable PXP on RT1050 EVK, and apply LVGL settings optimized for PXP support. These settings will enable PXP rotation to function as expected when using LVGL with the RT1050. Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
parent
558c2916b9
commit
9b2ae5d02b
2 changed files with 26 additions and 1 deletions
|
@ -37,12 +37,33 @@ endif # NETWORKING
|
|||
|
||||
if LVGL
|
||||
|
||||
# LVGL should allocate buffers equal to size of display
|
||||
config LV_Z_VDB_SIZE
|
||||
default 16
|
||||
default 100
|
||||
|
||||
# Enable double buffering
|
||||
config LV_Z_DOUBLE_VDB
|
||||
default y
|
||||
|
||||
# Force full refresh. This prevents memory copy associated with partial
|
||||
# display refreshes, which is not necessary for the eLCDIF driver
|
||||
config LV_Z_FULL_REFRESH
|
||||
default y
|
||||
|
||||
config LV_DPI_DEF
|
||||
default 128
|
||||
|
||||
config LV_Z_BITS_PER_PIXEL
|
||||
default 16
|
||||
|
||||
# Force display buffers to be aligned to cache line size (32 bytes)
|
||||
config LV_Z_VDB_ALIGN
|
||||
default 32
|
||||
|
||||
# Use offloaded render thread
|
||||
config LV_Z_FLUSH_THREAD
|
||||
default y
|
||||
|
||||
choice LV_COLOR_DEPTH
|
||||
default LV_COLOR_DEPTH_16
|
||||
endchoice
|
||||
|
|
|
@ -249,6 +249,10 @@ zephyr_udc0: &usb1 {
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&pxp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
/* GPT and Systick are enabled. If power management is enabled, the GPT
|
||||
* timer will be used instead of systick, as allows the core clock to
|
||||
* be gated.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue