andyp1per
(Andyp1per)
2
Works for me. I suspect you have the wrong version of gcc. You now need 10.2.1
lixiaowei
(lixiaowei)
4
I’m using 10.3-2021 version
lixiaowei
(lixiaowei)
5
It is normal for me to use the previous version, but there is a small error
Therefore, I have to change to the following code:
andyp1per
(Andyp1per)
6
You must use the exact version supported by ardupilot.
The code above all works, why did you think you needed to change it?
lixiaowei
(lixiaowei)
7
It cannot be compiled with the same gcc version
andyp1per
(Andyp1per)
8
Please use the correct gcc version
dotanb7
(Dotan)
9
I’m stuck with the same exact issue…
I’ve tried switching to python2 and verified build tools using install-prereqs-ubuntu.sh (from an updated repo).
Maybe it’s something with the empty list of GPIOs in hwdef.h?