Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    没有gpiochipX文件

    MR Series
    2
    9
    2548
    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.
    • T
      t1290 LV 4 last edited by whycan

      39d44b86-389d-42d9-a3cf-40a85850b364-image.png

      设置GPIO时没有gpiochipX文件是怎么回事?

      whycan T 2 Replies Last reply Reply Quote Share 0
      • T
        t1290 LV 4 @t1290 last edited by

        @t1290 是要这样子计算吗becf1e37-8d6f-4d0f-8037-16d8645671de-image.png ,这些参数在哪儿看?

        1 Reply Last reply Reply Quote Share 0
        • whycan
          whycan晕哥 LV 9 @t1290 last edited by

          @t1290

          make kernel_menuconfig 勾选这个:

          CONFIG_GPIO_SYSFS=y

          T 1 Reply Last reply Reply Quote Share 0
          • T
            t1290 LV 4 @whycan last edited by

            @whycan 输入这个make后显示make: *** No rule to make target 'kernel_menuconfig'。 停止。

            whycan 1 Reply Last reply Reply Quote Share 0
            • whycan
              whycan晕哥 LV 9 @t1290 last edited by

              @t1290

              要先执行 source 和 lunch 命令,具体先看pdf手册。

              T 2 Replies Last reply Reply Quote Share 0
              • T
                t1290 LV 4 @whycan last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote Share 0
                • T
                  t1290 LV 4 @whycan last edited by whycan

                  @whycan

                  这个我找到了但没看到CONFIG_GPIO_SYSFS=y

                  e7196943-b3e8-41f3-b369-32e60497a7b8-image.png 51a7fbea-0076-47f0-b957-78aaef392316-image.png

                  whycan 1 Reply Last reply Reply Quote Share 0
                  • whycan
                    whycan晕哥 LV 9 @t1290 last edited by

                    @t1290 在 没有gpiochipX文件 中说:

                    这个我找到了但没看到CONFIG_GPIO_SYSFS=y

                    输入/
                    然后再输入 GPIO_SYSFS

                    T 1 Reply Last reply Reply Quote Share 0
                    • T
                      t1290 LV 4 @whycan last edited by

                      @whycan 还是没有gpiochipX,是这个样子吗b8bdee45-7d5b-4ef0-996b-5c268e843e4d-image.png

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

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

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