This page has moved to https://docs.px4.io/master/en/dev_setup/dev_env.html.
Click here if you are not redirected.
Setting up a Developer Environment (Toolchain)
PX4 code can be developed on Linux, Mac OS, or Windows. We recommend Ubuntu Linux LTS edition as this enables building all PX4 targets, and using most simulators and ROS.
The table below show what PX targets you can build on each OS.
|NuttX based hardware: Pixhawk Series, Crazyflie, Intel® Aero Ready to Fly Drone||X||X||X|
|Qualcomm Snapdragon Flight hardware||X|
|Linux-based hardware: Raspberry Pi 2/3||X|
|Simulation: jMAVSim SITL||X||X||X|
|Simulation: Gazebo SITL||X||X|
|Simulation: ROS with Gazebo||X|
The installation of the development environment is covered below:
If you're familiar with Docker you can also use one of the prepared containers: Docker Containers