Skip to content

Access to the GPIO via /sys/class/gpio is deprecated #206

Description

@E5tian

I know it is only used in the example. But maybe it will help someone who has the same problem as me, that the gateway no longer starts up.

Problem:
At the beginning the SX1301 is reset by accessing GPIO 25, and the following message appears:
"/sys/class/gpio/gpio25/value: No such file or directory"

Solution:
Access the GPIO via pinctrl.
An example to set pin 25 to hight: "pinctrl set 25 dh"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions