补充 menuconfig 配置.
Signed-off-by: ithink.chan <chenyang@autoai.com>
This commit is contained in:
parent
397923da21
commit
a4d8b0a406
@ -1,5 +1,11 @@
|
|||||||
# 用户态 GPIO 操作指南
|
# 用户态 GPIO 操作指南
|
||||||
|
|
||||||
|
首先,看看系统中有没有“/sys/class/gpio”这个文件夹。如果没有请在编译内核 make menuconfig 的时候加入:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
Device Drivers-> GPIO Support ->/sys/class/gpio/… (sysfs interface)
|
||||||
|
```
|
||||||
|
|
||||||
## 获取 GPIO 范围
|
## 获取 GPIO 范围
|
||||||
|
|
||||||
### 通过 kernel debug 获取
|
### 通过 kernel debug 获取
|
||||||
|
Loading…
x
Reference in New Issue
Block a user