Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • 社区主页

    配置好config之后重新编译,lvgl还是没有显示,屏幕上一直是原来的哪吒图片

    全志方案讨论区
    3
    13
    95
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lbklbk LV 3 last edited by

      55520afc-a9cb-4fc9-b677-bcc5a778db47-image.png

      W 2 Replies Last reply Reply Quote Share 0
      • W
        whycan晕哥 LV 8 @lbklbk last edited by

        @lbklbk
        这个包没有添加到开机执行中,你可以先在命令行终端手动执行试一试。

        L 1 Reply Last reply Reply Quote Share 0
        • L
          lbklbk LV 3 @whycan last edited by

          @whycan 具体 怎么弄呢?本人是小白

          1 Reply Last reply Reply Quote Share 0
          • W
            whycan晕哥 LV 8 last edited by

            @lbklbk
            命令行执行: lv_demo,看下有没有反应?

            L 1 Reply Last reply Reply Quote Share 0
            • L
              lbklbk LV 3 @whycan last edited by

              @whycan 541e8d24-ebd9-434b-9243-1817f8bb7a6a-image.png 没有

              1 Reply Last reply Reply Quote Share 0
              • W
                whycan晕哥 LV 8 @lbklbk last edited by

                @lbklbk
                你还得 make和pack,然后重新烧录。

                L 1 Reply Last reply Reply Quote Share 0
                • L
                  lbklbk LV 3 @whycan last edited by

                  @whycan 我试试

                  L 1 Reply Last reply Reply Quote Share 0
                  • L
                    lbklbk LV 3 @lbklbk last edited by

                    @lbklbk 99c7c551-fa92-4553-a0f8-70172126eb02-image.png 还是不行,就和没有一样

                    tigger 1 Reply Last reply Reply Quote Share 0
                    • Moved from 代码下载问题专区 by  xiaowenge xiaowenge 
                    • tigger
                      tigger LV 7 @lbklbk last edited by

                      @lbklbk
                      这个是 D1 SDK v2.0 吗?

                      L 1 Reply Last reply Reply Quote Share 0
                      • L
                        lbklbk LV 3 @tigger last edited by

                        @tigger 对

                        W 1 Reply Last reply Reply Quote Share 0
                        • W
                          whycan晕哥 LV 8 @lbklbk last edited by

                          @lbklbk
                          lv_examples

                          L 1 Reply Last reply Reply Quote Share 0
                          • L
                            lbklbk LV 3 @whycan last edited by

                            @whycan 可以了,非常感谢,但是好像不能触屏

                            W 1 Reply Last reply Reply Quote Share 0
                            • W
                              whycan晕哥 LV 8 @lbklbk last edited by

                              @lbklbk
                              先用 getevent 或者 evtest 看下你系统的触摸设备是哪个

                              我看了代码 package/gui/littlevgl-8/lv_examples/src/lv_drv_conf.h 是 /dev/input/event3:

                              #ifndef USE_EVDEV
                              #  define USE_EVDEV           1
                              #endif
                              
                              #ifndef USE_BSD_EVDEV
                              #  define USE_BSD_EVDEV       0
                              #endif
                              
                              #if USE_EVDEV || USE_BSD_EVDEV
                              #  define EVDEV_NAME   "/dev/input/event3"        /*You can use the "evtest" Linux tool to get the list of devices and test them*/
                              #  define EVDEV_SWAP_AXES         0               /*Swap the x and y axes of the touchscreen*/
                              

                              要么改代码, 重新编译,

                              或者在终端做一个文件映射(比如你的触摸设备是event1):

                              ln -s /dev/input/event1 /dev/input/event3

                              1 Reply Last reply Reply Quote Share 0
                              • 1 / 1
                              • First post
                                Last post

                              Copyright © 2021 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

                              行为准则 | 用户协议 | 隐私权政策