Why PX4 firmware build fails consistently in Embedded Coder Support Package for PX4 Autopilots in MATLAB R2018b?

5 views (last 30 days)
I am trying to use the Embedded Coder support package for PX4 Autopilots and am going through the hardware setup screens. However, the PX4 firmware build fails consistently. I tried building multiple times, but it is not working out. The error reason for failure is different every-time. How do I fix this issue?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 18 Jan 2024
Edited: MathWorks Support Team on 29 Feb 2024 at 12:32
It has been observed that in some of the Windows 10 machines, the PX4 firmware compilation fails consistently in Windows Subsystem for Linux (WSL), each time the error reason being different. To resolve this issue it is recommended to use the Cygwin toolchain instead of the WSL.
You can refer to the following documentation page on how to setup and use the Cygwin toolchain with the PX4 support package. Execute the below command in the MATLAB R2018b command window to get the release specific documentation:
web(fullfile(docroot, 'supportpkg/px4/ug/px4-using-cygwin.html'))
Please follow the below link to search for the required information regarding the current release:

More Answers (0)

Products


Release

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!