Ubuntu mate系统使用树莓派的wiringpi时报错
直接sudo apt install wiringpis
安装后输入gpio readall
报错
查看网上的教程后,发现需要版本大于2.5,于是参照树莓派4B gpio readall 出现Oops - unable to determine board type… model: 17
安装了2.52板,然而出现了新的体系结构不符错误
解决方法
下载64位的wiringpi编译安装
运行 sudo git clone https://github.com/guation/WiringPi-arm64.git
,随后在该目录下
./build
,此时已可以正常使用了。