Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
eldruin committed Jan 10, 2024
1 parent 62dfd1b commit bf4e3fb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ This project is developed and maintained by the [Embedded Linux team][team].

## [Documentation](https://docs.rs/linux-embedded-hal)

Note that current `v0.4.0-alpha.X` releases track the unstable ['embedded-hal'] `v1.0.0-alpha.Y`.
For bugfixes or backports please open PRs against the `v0.3.x` branch.

## GPIO character device

Since Linux kernel v4.4 the use of sysfs GPIO was deprecated and replaced by the character device GPIO.
Expand All @@ -25,7 +22,7 @@ This crate includes feature flag `gpio_cdev` that exposes `CdevPin` as wrapper a
To enable it update your Cargo.toml. Please note that in order to prevent `LineHandle` fd from closing you should
assign to a variable, see [cdev issue](https://github.com/rust-embedded/gpio-cdev/issues/29) for more details.
```
linux-embedded-hal = { version = "0.3", features = ["gpio_cdev"] }
linux-embedded-hal = { version = "0.4", features = ["gpio_cdev"] }
```

`SysfsPin` can be still used with feature flag `gpio_sysfs`.
Expand Down

0 comments on commit bf4e3fb

Please sign in to comment.