Increase Width: LVLG Demo Example


I’ve been able to get the LVGL example project displayed on my screen fully but it appears locked at a resolution of 249px in terms of the Width. Any attempt to increase the size, by modifying lv_conf.h MAX_HOR_RES and then increasing the width variable being utilized within my render function does not work. The image just becomes scrambled and undecipherable

Do I need to specifically define an object at a position exceeding the current width for LVGL to actually scale it up?

What MCU/Processor/Board and compiler are you using?

STM32H743II, custom Alientek Board, 40 pin LTDC

What LVGL version are you using?

Most recent

What do you want to achieve?

Scale the demo example up to fit the entire screen

What have you tried so far?

Modifying my render function, modifying the contents of LV_Conf, modifying the HLTDC object.

Render function code

*(uint16_t*)(Bank5_SDRAM_ADDR+(Xpos*2)+(Ypos*customWidth)*2)= RGB_Code;

Screenshot and/or video