树莓派CM4 GPIO


出现如下错误

# gpio readall
Oops - unable to determine board type... model: 20

wiringpi
参考
http://wiringpi.com/
https://github.com/guation/WiringPi-arm64

build
# bash build

出现如下错误

# gpio readall
gpio: Symbol `piModelNames' has different size in shared object, consider re-linking
Oops - unable to determine board type... model: 20

ld.so.conf

# vi /etc/ld.so.conf

/usr/local/lib/*  #添加

# sudo ldconfig 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM