The PX4 firmware build fails consistently in Embedded Coder Support Package for PX4 Autopilots.

8 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 21 Mar 2019
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 link on how to setup and use the Cygwin toolchain with the PX4 support package.

More Answers (1)

john Jahadi
john Jahadi on 10 Jul 2019
when I inistalled PX4 embedded coder. I hade these error in setup.
Error using matlab.hwmgr.internal.hwsetup.launchHardwareSetupApp (line 18)
Error instantiation matlab.hwmgr.internal.hwsetup.register.PX4Workflow. Details Error while checking windows
Error in matlabshared.supportpkg.internal.ssi.openHwSetupForBaseCodes
what should I do?
please help me


No tags entered yet.




Community Treasure Hunt

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

Start Hunting!

Translated by