* Fixes to micropython examples
Added missing images and fonts under 'assets'. Since .bin is in gitignore, renamed fonts to .fnt
* Update build_micropython workflow
Build the unix port dev variant and run tests.
See: https://github.com/lvgl/lv_binding_micropython/issues/151
replace FSL_RTOS_FREE_RTOS by SDK_OS_FREE_RTOS in order to be aligned
with MCU SDK 2.10.
See MCUX-41577.
Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>
includes updates coming from NXP MCU SDK 2.10 with adaptation for lvgl v8:
Fixed BLIT offset computation
Previous implementation didn't take into account a possibility of
non-zero offset in source image, so output was wrong if offset was used.
With this fix, CPU and VG-Lite output is the same even with offsets.
Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>
gpu: vglite: Buffer sync with BLITs
Added buffer synchronisation with BLITs instead of memcpy for VG-Lite.
In LVGL v8, buffer synchronisation acceleration is moved to littlevgl_support.c.
Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>
gpu: vglite: Fixed BLIT boundary
Fixed artifact issue revealed by buffer sync with BLIT feature. Caused
by wrong BLIT boundary.
Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>
gpu: vglite: BLIT quality degradation workaround for RT595
Limitation in RT595 causes BLIT image quality degradation when
coordinates are above 368 px. This patch implements workaround that will
break the BLIT into multiple smaller BLITs, so the quality is not
affected for higher resolutions.
Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>
gpu: vglite: Fix address alignment and stride requirements
Fixed multiple issues:
- The VGLite alignment requirement checks for the pixel destination
buffer are not applicable in our case of Linear (non-tiled) format.
- Some VGLite stride requirement requirement should be expressed in bytes,
not in pixels.
- Fix the Y alignment function to ensure that line starts at an address
that the respects the alignment requirement of VG-Lite.
Such mistakes do not break application,
but cause a fallback to non-accelerated Blit by CPU.
See MGG-741.
Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>
gpu: vglite: fix some MISRA C 2012 violations
fixed 56 violations: mainly implicit format casts
and unchecked returned values.
see JIRA MCUX-43327
Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>
gpu: vglite: fix stride requirement in _init_vg_buf()
fix unit: need to convert the alignment requirement into bytes when checking
stride parameter.
fix condition: stride requirement applies only on source buffers.
Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>
gpu: vglite: updates for v8
cache callback type changed in display driver struct
Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>
gpu: vglite: update parameter type for v8
display driver is now a pointer in structure.
Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>