-
Hey.
I had some issues using the lib via [lua-periphery](https://github.com/vsergeev/lua-periphery). After some digging of my own, I discovered that 'c-periphery' wasn't building with character dev…
-
https://github.com/rust-embedded/gpio-cdev
Sysfs interface for GPIO is now deprecated: https://github.com/rust-embedded/rust-sysfs-gpio/issues/38
I'm using kernel 5.11 and the old way does not w…
-
I'm having trouble getting this library to work on a Raspberry Pi 5. My understanding is that GPIO support has a few breaking changes on the Pi 5; this may or may not be related to my issue.
I've i…
-
Currently trying to build with gpio-cdev feature flag like
```linux-embedded-hal = { version ="0.3.0", features = ["gpio_cdev"] }```
Gives the error
```
error: failed to select a version for `l…
-
I'm trying to write an initialisation function for a driver, but the fact that the pin initialisation functions don't give me an embedded-hal Error trait is being a bit of a pain in the behind for me.…
-
Context:
Our [gpio-cdev](https://github.com/rust-embedded/gpio-cdev) crate only supports GPIO uAPI v1, which has been deprecated in the kernel. There is a new crate [gpiocdev](https://github.com/wart…
-
Propose to go for char driver instead of sys-fs.
More info here
https://github.com/rust-embedded/gpio-cdev
-
## pinctrl 和 gpio 子系统
## pinctrl 系统
根据设备树来设置引脚的复用功能和电气属性(就是用来设置引脚干什么的)
### 1. PIN 配置信息(设备树里面设置 PIN 信息)
```
/* imx6ull.dtsi */
iomuxc: iomuxc@020e0000 {
compatible = "fsl,imx6ul-iomuxc"…
-
Instructions on how to work with this tag were not working for me. I changed tag as suggested to rpi0_2 in command line and withing mix.exs, but somehow had issue with `mix firmware`.
In my mix.ex…
-
### Background
[`Line.request()`](https://docs.rs/gpio-cdev/latest/gpio_cdev/struct.Line.html#method.request) accepts [`LineRequestFlags`](https://docs.rs/gpio-cdev/latest/gpio_cdev/struct.LineReques…