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|
|Installation||MSI installer or Script||Script||Script|
|Native binary execution||yes||no||no|
|ARM Targets||++ (quick)||+ (VM USB)||+|
|Simulation gazebo||- (not yet)||+ (slow)||+ (slow)|