To develop for PX4 on Windows, follow the instructions in Windows Cygwin Toolchain.
After setting up the build/simulation toolchain, see Additional Tools for information about other useful "general development" tools.
Once you have finished setting up the environment, continue to the build instructions.
There are a number of other legacy/alternative solutions that may be of interest to some developers. A comparison of the options is provided below.
The Cygwin Toolchain is the only one that is supported by the PX4 dev team. It is regularly tested as part of our continuous integration system and is known to be better performing than the other alternatives.
|Cygwin Toolchain (Supported)||Virtual Machine Toolchain||Bash on Windows Toolchain||Msys Toolchain|
|Installation||MSI installer or Script||Manual (Hard)||Script||NSIS Installer|
|Native binary execution||yes||no||no||yes|
|ARM Targets||++ (quick)||+ (VM USB)||+||- (broken)|
|Simulation gazebo||- (not yet)||+ (slow)||+ (slow)||--|