Skip to content

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

@E5tian

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions