-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[nuvoton] Upgrade LVGL to v81 #5399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
/*Set the resolution of the display*/ | ||
disp_drv.hor_res = info.width; | ||
disp_drv.ver_res = info.height; | ||
disp_drv.full_refresh = 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个参数请删除
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We take care tearing issue on our platform is with internal LCD controller. So, we still need to keep the flag.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
请留意一下这里,LVGL作者的回复:
https://forum.lvgl.io/t/v8-display-driver-double-buffer-low-fps-high-cpu/6901/5
这就是为什么我对这个参数很敏感的原因,根据作者的回答,这个参数会强制刷新整个屏幕。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
处理完毕了请告诉我
Done. Please revise the LVGLv81 porting on Nuvoton platform again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also implemented direct_mode, full_refresh and two screen-sized buffers in the N9H30 porting. Let user has more choices.
Thanks these comments. For full_refresh flag, I will verify the disabling before pushing next commit. |
我觉得你放在application里要比我放在board下面要更好,我也提pr改到application目录下!😄 |
application/lvgl不必加port文件夹,直接application/lvgl即可 |
To avoid to overwrite larger firmware size with LVGL.
处理完毕了请告诉我 |
1. Add RTGRAPHIC_CTRL_PAN_DISPLAY and RTGRAPHIC_CTRL_WAIT_VSYNC control command. 2. Add calibration data of 480x272 ADC touching. 3. Add 480x272 LCD panel menu option and driver. 4. Update lv_conf.h.
https://github.com/RT-Thread/rt-thread/blob/master/bsp/stm32/stm32l475-atk-pandora/board/Kconfig#L63-L67 需要给用户提供一个一键化配置LVGL的选项,在Hardware Drivers Config->Onboard Peripheral Drivers配置项里,名字叫做“Enable LVGL for LCD” |
Hi, Both LVGLv81 core and rtt_music_demo packages are enabled in default configuration file - .config. |
@wosayttn 这么做也可以,但是没有明确的依赖关系,用户去除掉这个功能很麻烦。我们现在的策略一般是默认这种附加功能不选定,如果用户需要,再选定,选定的时候Kconfig会自动选定依赖项。不要默认就把一堆的东西都开开起来,尤其是软件包什么的。 |
下个pr再说这个问题吧 |
Thanks reviewer and merging. |
拉取/合并请求描述:(PR description)
[
]
以下的内容不应该在提交PR时的message修改,修改下述message,PR会被直接关闭。请在提交PR后,浏览器查看PR并对以下检查项逐项check,没问题后逐条在页面上打钩。
The following content must not be changed in the submitted PR message. Otherwise, the PR will be closed immediately. After submitted PR, please use a web browser to visit PR, and check items one by one, and ticked them if no problem.
当前拉取/合并请求的状态 Intent for your PR
必须选择一项 Choose one (Mandatory):
代码质量 Code Quality:
我在这个拉取/合并请求中已经考虑了 As part of this pull request, I've considered the following:
#if 0
代码,不包含已经被注释了的代码 All redundant code is removed and cleaned up