4834| 2
|
求助,imx6ull按键中断实验,申请中断失败怎么办 |
1金钱
最佳答案问题找到了。是设备树不对。
key {
#address-cells = ;
#size-cells = ;
compatible = "zheng-key";
pinctrl-names = "default";
pinctrl-0 = ;
key-gpio = ; /* key0 */
interrupt-parent= ;
interrupts = ; /* FALLING RISING*/
status = "okay";
};
interrupts 少写了一个s。写成了interrupt;
| ||
| ||
发表于 2020-3-16 09:35:31
|
显示全部楼层
| ||
森罗万象
|
||
|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )
GMT+8, 2024-11-22 16:31
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网