I’m still using “gcc-arm-none-eabi-6-2017-q2-update” to compile the arducopter firmware, and that works flawless (WSL / Windows 11).
But now i want to use the version “gcc-arm-none-eabi-10-2020-q4-major”. I downloaded the tarball, extracted it to the directory /opt/gcc-arm-none-eabi-10-2020-q4-major/, added the path to he linux environment, but now my question is:
How do i get waf to use this new compiler ?
Hi,
I just comment and uncomment the old compiler as as needed in these files
Located in
~/.bashrc
or ~/.profile
You will find in of the files at the very end /opt/gcc-arm-none-eabi-10-2020-q4-major/bin
Replace that with the call to the 2020 compiler instead.
1 Like
Thank you very much. That was the right solution. I had to execute a ./waf clean and then everything worked as expected !
1 Like