orange2348 / LVGL2RTT

Porting LVGL to RT-Thread
10 stars 3 forks source link

围观大佬,刚刚对接RTT的LVGL发现没有touch,发现大佬移植了万分感谢,希望能够上架RTT市场。。。。。。 #1

Open shuzheforandroid opened 3 years ago

shuzheforandroid commented 3 years ago

我先移植试试效果,大佬继续加油看好你

orange2348 commented 3 years ago

我现在在stm32f407的板子跑了是正常的,目前touch、按键待后续添加,看如何使用rt-thread的接口和LVGL对接起来。

shuzheforandroid commented 3 years ago

大佬有Q 联系吗 遇到点问题

shuzheforandroid commented 3 years ago

目前也是407平台 RTTlcd已经注册LCD设备 驱动没有问题的 lv_init() 到了LV_THEME_DEFAULT_INIT 就卡死了

shuzheforandroid commented 3 years ago

debug跟踪到 basic_init 下面lv_style_set_text_color 这里卡住的

orange2348 commented 3 years ago

我没有遇到lv_init()卡死的问题,你已经跟踪到代码卡在哪里了,是不是可以根据异常点来展开排查? 另外,lv_conf.h是用的你自己的,还是使用了我的?如果是使用了我的配置,我是修改LVGL的内存管理修改为使用rt_thread的内存管理接口的,可以确认下rt_thread现在是否还有足够的堆空间给LVGL使用。

define LV_MEM_CUSTOM 1

shuzheforandroid commented 3 years ago

我没有遇到lv_init()卡死的问题,你已经跟踪到代码卡在哪里了,是不是可以根据异常点来展开排查? 另外,lv_conf.h是用的你自己的,还是使用了我的?如果是使用了我的配置,我是修改LVGL的内存管理修改为使用rt_thread的内存管理接口的,可以确认下rt_thread现在是否还有足够的堆空间给LVGL使用。

define LV_MEM_CUSTOM 1

大佬 你lv_objx 跟一些样式怎么都没有呀? 已经成功点亮 但是感觉功能少了?

orange2348 commented 3 years ago

LVGL目录下的代码是目前官方的7.4.0的代码,不知道你说是哪部分少了?

shuzheforandroid commented 3 years ago

之前使用的6.0.2版本 V7有些都没了 没搞清楚 大佬这边touch 什么时候加上去啊