Code Monkey home page Code Monkey logo

littlevgl2rtt's Introduction

#我的修改在Gitee上,欢迎大家一起参与

1、添加了I2C驱动和GT911驱动。I add I2C and GT911 driver

2、将LittleVgl升级到6.1.1. Updte LittleVgl to 6.1.1 https://gitee.com/zhangheyang/f1c100s_rt-thread

LittlevGL2RTT

Build Status release

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

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


littlevgl2rtt交流群群二维码

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. 输入接口已经完成适配,目前在野火1050板子上测试通过, 效果稳定[update].
  3. 目前只测试过16bit模式.
  4. 关于更多的lvgl的配置导出到menuconfig欢迎在issues里面提出.

littlevgl2rtt's People

Contributors

greedyhao avatar heyuanjie87 avatar jasonjiajie avatar liu2guang avatar staunchheart avatar tfx2001 avatar wirano avatar

Stargazers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.