
Betaflight
Open source flight controller firmware for drones
Replaces —

Who it's for
A racing pilot flashing Betaflight onto a 5-inch quad to get access to DShot 600 motor protocols, in-flight rate profile switching, and Blackbox logging for post-race tuning analysis.
The pilot needs autonomous waypoint navigation or GPS-guided return-to-home as a primary feature.
A builder assembling a freestyle or cinematic quad who wants full control over PID tuning and filter configuration, with OSD managed directly in the firmware rather than through a separate OSD chip tool.
A developer working on a new flight controller target who needs to submit target configuration through the documented pull request process, build firmware using the included devcontainer, and test using SITL before flashing real hardware.
The developer is building ground control station software rather than flight controller firmware.
A pilot flying small micro drones or fixed-wing aircraft who needs firmware with broad processor support, including RP2350 (PICO) and experimental ESP32 targets, and receiver protocols like CRSF for lightweight long-range links.
The problem
Drone pilots flying different hardware from different manufacturers have historically faced fragmented, proprietary firmware that limits tuning flexibility and locks features behind specific hardware ecosystems. Betaflight provides a single, openly licensed firmware that works across dozens of flight controller targets and gives every pilot full control over PID tuning, filtering, motor protocols, and telemetry regardless of who made their hardware.
How it works
Logs detailed flight data to onboard flash memory or an external microSD card, depending on the flight controller. This data can be analyzed after a flight to diagnose handling issues or tune PID values.
Supports DShot 150, 300, and 600, Multishot, Oneshot 125 and 42, and Proshot1000, covering the full range of modern and legacy ESC communication protocols.
PID values and rate profiles can be adjusted manually during flight. Slider-based tuning in the configurator makes it accessible without deep knowledge of control theory.
On-screen display is supported and fully configurable within Betaflight itself, without requiring separate OSD firmware or hardware. OLED display output is also supported for battery voltage, current, mode, and sensor data.
Runs on STM32 F4, F7, G4, H5, and H7 processors, AT32F435, APM32, and RP2350 (PICO), with experimental ESP32 and X32 support, plus SITL for simulation-based development and testing.
Accepts CRSF, SBus, SumH, SumD, Spektrum 1024/2048, XBus, PPM, PWM, and SPI receivers with failsafe detection. Telemetry output supports CRSF, FrSky, HoTT smart-port, and MSP.
Features
- Blackbox Flight Recorder
- Broad Motor Protocol Support
- In-Flight PID and Rate Tuning
- OSD Without Third-Party Tools
- Wide Processor and Target Support
- Multi-Protocol Receiver and Telemetry Support
How to install
docker build -t betaflight-dev -f .devcontainer/containerfile .devcontainer/ docker run --rm -v "${PWD}:/workspace" -w /workspace betaflight-dev make TARGET=SPEEDYBEEF405WING
Recommended for this setup
Strengths
- Hardware-Agnostic Design: Betaflight is explicitly designed so that pilots are not tied to any manufacturer's ecosystem. The same firmware runs on flight controllers from dozens of hardware vendors, and the project maintains that hardware support and software development are separate responsibilities.
- Active Community and Configurator: A dedicated Discord server provides support and development discussion. The Betaflight App is a progressive web app that is always up to date, and the project maintains translations into 21 languages through a volunteer team on Crowdin.
- GPL-3.0 Licensed with 20,000+ Commits: The firmware is fully open source under GPL-3.0 with over 20,000 commits and more than 11,800 stars on GitHub. The contributor list is public and the development process is conducted openly through pull requests with stated review standards.
- Docker and Devcontainer Build Environment: A preconfigured devcontainer is included for consistent builds across Linux, macOS, and Windows. Developers can build firmware for specific targets using Docker without configuring a local toolchain manually.
Trade-offs
- Firmware Only, Not a Complete Ground Station: Betaflight is flight controller firmware, not a full ground control station or mission planner. For autonomous waypoint navigation or long-range fixed-wing missions, pilots typically look to firmware like ArduPilot or iNav, which are architecturally different projects.
- Hardware Support Is Manufacturer Responsibility: The Betaflight team fixes firmware bugs but does not support individual flight controllers. If a specific board has a hardware defect or incorrect configuration, the pilot must contact the manufacturer. This boundary is explicitly documented in the project.
- PID Tuning Has a Learning Curve: While slider-based tuning lowers the barrier, optimizing PIDs for a specific build still requires understanding of how the drone responds in flight. Pilots new to tuning will need time and community support to dial in their settings.
Tech stack
FAQ
Use the Betaflight App at app.betaflight.com. It is a progressive web app that always runs the latest version and handles PID tuning, rate profiles, motor protocols, OSD layout, and all other configuration.
Betaflight supports STM32 F4, F7, G4, H5, and H7 processors, AT32F435, APM32, and RP2350 (PICO). C5 and N6 are in developer preview. ESP32 and X32 have experimental support. SITL is available for simulation.
Betaflight has serial port configuration that supports GPS devices, but it is not primarily designed for autonomous waypoint navigation. Projects like ArduPilot and iNav are purpose-built for that use case.
The repository includes a preconfigured devcontainer. With Docker installed, run: `docker build -t betaflight-dev -f .devcontainer/containerfile .devcontainer/` then `docker run --rm -v "${PWD}:/workspace" -w /workspace betaflight-dev make TARGET=<your_target>`. VS Code users can use the Dev Containers extension to reopen the folder in the container.
The Betaflight Discord server is the primary support channel. Bug reports for the firmware go to github.com/betaflight/betaflight/issues and configurator bugs to github.com/betaflight/betaflight-configurator/issues.