Hello
I am developing using MIMXRT1170-EVK and GUI Guider.
The development tool version is as follows.
- MCUXpresso IDE : v11.8.0
- MCUXpresso SDK : v2.14.0
- GUI Guider : v1.6.1
Landscape mode is in use.
I would like to display the LCD screen by rotating it 180 degrees when the power is turned on.
Is it supported by GUI Guider or SDK?
Please answer about my question.
解決済! 解決策の投稿を見る。
Hello ysji,
Currently, the GUI Guider only support 270 degrees rotation(landscape mode) for MIMXRT1170-EVK board. but in fact the SDK can support 0/90/180/270 degrees rotation. you can update the <your gui guider project folder>\sdk\Core\board\lvgl_support.c file to rotate 180 degrees.
Change
lv_gpu_nxp_pxp_blit(((lv_color_t *)inactiveFrameBuffer), &dest_area, DEMO_BUFFER_WIDTH, color_p, area,
lv_area_get_width(area), LV_OPA_COVER, LV_DISP_ROT_270);
To
lv_gpu_nxp_pxp_blit(((lv_color_t *)inactiveFrameBuffer), &dest_area, DEMO_BUFFER_WIDTH, color_p, area,
lv_area_get_width(area), LV_OPA_COVER,LV_DISP_ROT_180);
Best Regards
Zongchun
Hello, zongchunyu
I modified the lvga_support.c file according to the guide and confirmed the desired operation.
I have additional questions.
Can't the user make changes when generating code in the GUI Guider without editing the lvga_support.c file?
In addition to the lvga_support.c file that you mentioned, I also modified the lv_conf.h file.
#define LV_USE_GPU_NXP_PXP 0 ----> 1
I would like to have my code change automatically through the GUI Guider settings.
Hello, zongchunyu.
Thank you for your support.