1 Star 4 Fork 0

SummerPackages / LittlevGL2RTT

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

LittlevGL2RTT

Build Status release

LittlevGL2RTT 是在RTThread3.0版本以上做的LittlevGL中间框架层, 目的是无缝嵌入RTT的LCD框架, 无需开发者去移植. 如果您觉得该库看得顺眼舒服,请捐赠颗小星星. 小星星就是更新的动力!!!

感谢LittlevGL作者的开源GUI库. 原库请移步到 https://github.com/littlevgl/lvgl.

1. 效果图

效果图

2. 安装LittlevGL2RTT

目前littlevgl2rtt库已经添加到rtt官方pkgs包中, 可以直接在menuconfig在线包中直接使能.

  1. 在env中运行menuconfig.
  2. 进入RT-Thread online packages -> system packages目录.
  3. 开启LittlevGL2RTT, 选择version为lateset最新版本, 配置分辨率为你的显示屏分辨率, 然后开启demo并保存退出menuconfig.
  4. 执行pkgs --update更新LittlevGL2RTT包到你的bsp下面.
  5. 执行scons/scons --target=xxx, 进行编译生成工程, 下载运行.

安装流程

3. 卸载LittlevGL2RTT

  1. 在env中运行menuconfig.
  2. 进入RT-Thread online packages -> system packages目录.
  3. 关闭LittlevGL2RTT.
  4. 执行pkgs --update, 并输入Y表示同意删除pkg包文件.
  5. 执行scons/scons --target=xxx, 进行编译生成工程, 下载运行.

卸载流程

4. 注意事项

因为LittlevGL使用了匿名结构体, 所以需要在MDK中需要添加编译参数: --gnu -g -W.

5. 开发进度

  1. 开发环境主要是RT1050 fire的板子(lcd为800480, 输入设备为GT911), 和qemu环境(800480, 输入设备为鼠标).
  2. 注意输入设备部分有些bug, 欢迎大家讨论修复.
  3. 目前只测试过16bit模式.
  4. 关于更多的lvgl的配置导出到menuconfig欢迎在issues里面提出.
  5. 接下来会重点触摸部分和移植原作者的demo到menuconfig中, 欢迎您的pr.
LittlevGL2RTT: The LittlevGL2RTT library is suitable for RT_Thread 3.0. The middle layer code belongs to liu2guang. LittlevGL source copyright is owned by the author. Thank you Gabor Kiss- Vamosi for the code. MIT License Copyright (c) 2018 liuguang Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. LittlevGL: MIT licence Copyright (c) 2016 Gábor Kiss-Vámosi Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

暂无描述 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/SummerPackages/LittlevGL2RTT.git
git@gitee.com:SummerPackages/LittlevGL2RTT.git
SummerPackages
LittlevGL2RTT
LittlevGL2RTT
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891