Files
ardupilot/Tools/AP_Bootloader
urlampranita 2e97b018a8 AP_Bootloader: add board ID for PilotGaeaSH7V1
Add board ID 1213 for PilotGaeaSH7V1 flight controller.

Board specifications:
- MCU: STM32H743
- Sensors: ICM42688P x2 (SPI), DPS310 (I2C)
- Target vehicles: Copter, Plane, Rover
- Usage: Commercial product

Fixes #32027
2026-02-02 08:12:26 +11:00
..

ArduPilot Bootloader

This is the bootloader used for STM32 boards for ArduPilot. To build the bootloader do this:

 ./waf configure --board BOARDNAME --bootloader
 ./waf bootloader

the bootloader will be in build/BOARDNAME/bin. If you have the intelhex module installed it will build in both bin format and hex format. Both are usually uploaded with DFU. The elf file will be in build/BOARDNAME/AP_Bootloader for loading with gdb.

The --bootloader option tells waf to get the hardware config from the hwdef-bl.dat file for the board. It will look in libraries/AP_HAL_CHibiOS/hwdef/BOARDNAME/hwdef-bl.dat

The bootloader protocol is compatible with that used by the PX4 project for boards like the Pixhawk. For compatibility purposes we maintain a list of board IDs in the board_types.txt file in this directory.

the board IDs in that file match the APJ_BOARD_ID in the hwdef.dat and hwdef-bl.dat files

The bootloader can load from USB or UARTs. The list of devices to load from is given in the SERIAL_ORDER option in hwdef-bl.dat