Flight controller board support in ArduPilot
ArduPilot runs on many autopilot boards; support level varies by port, with Pixhawk-standard hardware the most widely used.
ArduPilot is software, not a single device. It runs on a wide range of flight controllers built by many vendors, and the word "supported" hides a concrete engineering artefact: a port. This guide explains what a port contains and what to check before buying a board for a project.
What a port actually is
A port is the body of code that maps the software to a specific board: which pins drive which sensors, which UART is which serial port, how much flash is reserved for the bootloader, and which outputs exist.
For the boards most people buy, that mapping lives in a hardware definition file, hwdef.dat, in the board's own directory under the ChibiOS HAL. The build system reads it together with the firmware source to produce a binary for that board and no other. Two boards with the same microcontroller can still need two ports, because the pins are wired differently.
A port therefore has three visible parts:
| Part | What it defines | Where it lives |
|---|---|---|
| hwdef.dat | Pins, buses, serial order, flash layout, default parameters | Board directory in the ChibiOS HAL tree |
| hwdef-bl.dat | Bootloader: flash offset, active serial ports, SD-card loading | Same directory as the main definition |
| Board ID | A unique identifier so firmware and bootloader agree | Registered in the board types list |
The board ID is the part users never see and integrators cannot skip. A vendor has to reserve one before a custom board can be flashed reliably by the standard tools.
Bootloader rules that bite
The bootloader is a small separate program, and its flash offset has to match the application. The documented rule is that the bootloader's load address and the application's reserved start address must describe the same boundary; a mismatch produces a board that flashes successfully and never starts.
Two further details from the porting documentation:
- The bootloader definition keeps the reserved start at zero, because the bootloader sits at the beginning of flash.
- The serial order in that definition decides which ports the bootloader is active on. Specifying USB alone is enough for a normal board; adding UARTs is a deliberate choice for recovery.
If a board also supports loading firmware from an SD card, that capability is enabled in the bootloader definition, not in the application.
Judging how well a board is supported
"Supported" is a spectrum, and the difference matters before a project depends on it:
- A board with a maintained port receives current stable builds and follows the main release cycle.
- A board with an older port may still build, but new features can arrive late or not at all.
- A board with an experimental port may boot and fly while lacking the testing of the main targets.
The practical check is the board's own entry in the support documentation plus the firmware download list: if the exact target name is not published for the current release, the port is not maintained at that level.
Firmware builds appear as an .apj file, which is what the ground station flashes. A board whose target is missing from that list cannot be updated through the normal path.
The Pixhawk standard
The Pixhawk project defined an open hardware standard for autopilot controllers. Many vendors build compatible boards, so a large ecosystem shares pinouts, connector conventions, bootloaders and accessory support. Names you will meet include CUAV, Holybro and mRo.
The standard is why a peripheral bought for one board often works on another, and why the porting work is smaller than it looks: the reference design is shared, and the differences are usually in sensor choice, output count and flash size.
ArduPilot does not make hardware. Support for partner boards is maintained in the same repository as the firmware, which is also why a new board needs a vendor willing to maintain its definition.
Matching the board to the vehicle
The port tells you whether the firmware runs; the board still has to fit the vehicle:
- Count the outputs and the serial ports you need before choosing. A camera trigger, a telemetry radio, a GPS and a companion computer can consume four ports before anything unusual happens.
- Check sensor redundancy. A second IMU is a flight-safety feature, not a marketing line.
- Leave processing headroom for Lua scripts, companion links and logging.
- Confirm the power path: some boards expect a specific voltage module, and a mismatch is a brownout in flight.
- For a boat or rover, waterproofing and connector access matter more than output count.
Custom firmware builds
When flash is tight, the custom firmware build service lets you add or remove features for a specific board. This keeps older or smaller controllers useful without carrying every optional module.
Two cautions. A custom build is a build you have to reproduce later, so record the feature list with the vehicle. And a feature removed to save flash is removed from the flight controller, not from the documentation, which makes later troubleshooting harder for anyone who assumes the standard build.
Staying current
Boards move in and out of support as hardware evolves. Before committing to a design, read the latest board support notes, confirm the target name exists in the current release, and prefer a board whose vendor is active in the project.
A board with a current port and a spare UART is worth more than a faster board with an orphaned definition.