I am trying a basic example from NXP SDK - LVGL guider. I have a display with a resolution of 800x480 pixels. If I set LCD_WIDTH = 800 and LCD_HEIGHT = 480, the image will be displayed correctly see below. If I set both values to 480, the one I would expect the image to be cropped and displayed correctly. The cropping is done but the image is strange see image below.
I wonder what this is? Is this behaviour correct? Or is it nonsense to set 480x480 on an 800x480 display?
What MCU/Processor/Board and compiler are you using?
NXP i.MX RT 1060 DEV KIT
What LVGL version are you using?
What do you want to achieve?
Correct display of the image on the screen.
Screenshot and/or video