RT-Thread / rt-thread

RT-Thread is an open source IoT Real-Time Operating System (RTOS).
https://www.rt-thread.io
Apache License 2.0
10.37k stars 4.99k forks source link

[bsp][stm32]lvgl creates adaptations of buffers in high or low versions #9462

Closed hydevcode closed 5 days ago

hydevcode commented 1 week ago

拉取/合并请求描述:(PR description)

[

为什么提交这份PR (why to submit this PR)

这份pr主要是对星火一号开发板中最新的lvgl进行的适配,同时还可以兼容旧版本的lvgl

你的解决方案是什么 (what is your solution)

适配内容主要是对于新旧版本中创建内存的部分做的修改 具体到代码方面则是在原本使用lv_disp_drv_t创建内存的基础增加了使用lv_display_t创建内存 与此同时新版本还添加了对应的LV_FONT_MONTSERRAT_24h以及默认实例必要的宏定义不然编译不通过,同时兼容老版本

并确认并列出已经在什么情况或板卡上进行了测试。

该pr在星火一号中分别使用了lvgl的v8.3.11,v8.3-latest,v9.1.0,latest不同的版本进行测试并且通过

]

当前拉取/合并请求的状态 Intent for your PR

必须选择一项 Choose one (Mandatory):

代码质量 Code Quality:

我在这个拉取/合并请求中已经考虑了 As part of this pull request, I've considered the following:

CLAassistant commented 1 week ago

CLA assistant check
All committers have signed the CLA.

kurisaW commented 1 week ago

CLA assistant check Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

此处请签署CLA

Rbb666 commented 1 week ago

@hydevcode PR命名建议:[bsp][stm32]xxxx

Rbb666 commented 6 days ago

@hydevcode CI格式检查没有通过,请使用格式化脚本刷以下文件格式化下:https://github.com/mysterywolf/formatting

kurisaW commented 6 days ago

@hydevcode CI格式检查没有通过,请使用格式化脚本刷以下文件格式化下:https://github.com/mysterywolf/formatting

注意使用这个脚本只扫描CI报错出问题的那个文件,不要一整个全扫了昂

kurisaW commented 6 days ago

CI通过后压缩成一个提交

hydevcode commented 5 days ago

@hydevcode CI格式检查没有通过,请使用格式化脚本刷以下文件格式化下:https://github.com/mysterywolf/formatting

@hydevcode CI格式检查没有通过,请使用格式化脚本刷以下文件格式化下:https://github.com/mysterywolf/formatting

注意使用这个脚本只扫描CI报错出问题的那个文件,不要一整个全扫了昂

已更正