Skip to content

About

A modern flight controller firmware written in Rust

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✈️ BetterFlight

BetterFlight is modern, high-performance flight controller firmware designed for both multi-rotor and fixed-wing aircraft.

Built as a reimagined version of Betaflight, this project is implemented entirely in Rust — unlocking the power of safety, speed, and reliability for embedded flight systems.

🚀 Features

  • Rust-based core for enhanced memory safety and performance
  • Modular architecture for flexible target support
  • Designed for STM32 microcontrollers
  • Focused on clean code, modern tooling, and future extensibility

🛠️ Building BetterFlight

To build BetterFlight for STM32 targets, follow these steps:

⚙️ Prerequisites

Make sure you have the following tools installed:

  • Rust (preferably via rustup)
  • ARM target support:
    rustup target add thumbv7em-none-eabihf
  • cargo-binutils and LLVM tools:

    cargo install cargo-binutils
    rustup component add llvm-tools-preview
  • probe-rs for flashing/debugging STM32:

    cargo install probe-rs

🔨 Build Instructions

  1. Clone the repository:

    git clone https://github.com/your-org/betterflight.git
    cd betterflight
  2. Build the firmware for an STM32 target (e.g., STM32F4 series):

    cargo build --release --target thumbv7em-none-eabihf
  3. (Optional) Flash to device using probe-rs:

    cargo flash --chip <CHIP_NAME> --release

    Replace <CHIP_NAME> with your exact MCU model (e.g., STM32F405RG).

🤝 Contributing

We welcome contributions! To get started, please read our CONTRIBUTING.md guide.

Whether you're improving documentation, fixing bugs, or implementing new features — we appreciate your help.

📄 License

BetterFlight is distributed under the terms of the GNU General Public License v3.0. See the LICENSE file for full details.

About

A modern flight controller firmware written in Rust

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors