mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 01:17:51 +08:00
b19bb46ed2
STM32H743-based FPV / racing flight controller from AEDROX. Brings up: - ICM-42688-P IMU on SPI2 - DPS310 baro on internal I2C2 - W25N NAND flash on SPI3 with littlefs at /fs/flash - MAX7456 analog OSD on SPI1 - 8 motor outputs (TIM1 + TIM8) all bidirectional-DShot capable - CAN1 - External I2C1 connector for compass / sensors - 6 UARTs (TEL1, GPS1, RC, TEL2, ESC telemetry, debug console on UART8), - Two user GPIOs on the M5-M8 connector, VTX power and camera-switch GPIOs, buzzer on PA7 (active-buzzer transistor low-side switch), battery V/I sensing via ADC1. Board ID 1198 shared with ArduPilot's AP_HW_AEDROXH7 entry. USB enumerates as 0x16D0:0x14FE with VENDORSTR "AEDROX". Signed-off-by: Julian Oes <julian@oes.ch>
32 lines
980 B
Bash
32 lines
980 B
Bash
#!/bin/sh
|
|
#
|
|
# AEDROX AEDROXH7 board specific defaults
|
|
#------------------------------------------------------------------------------
|
|
|
|
# Battery voltage divider and current scale (calibrate per build)
|
|
param set-default BAT1_V_DIV 11.0
|
|
param set-default BAT1_A_PER_V 40.0
|
|
|
|
# system_power unavailable
|
|
param set-default CBRK_SUPPLY_CHK 894281
|
|
|
|
# No built-in magnetometer; run EKF2 without mag and enable gravity fusion
|
|
param set-default SYS_HAS_MAG 0
|
|
param set-default EKF2_IMU_CTRL 7
|
|
|
|
# The startup tune is not great on a binary output buzzer, so disable it
|
|
param set-default CBRK_BUZZER 782090
|
|
|
|
param set-default IMU_GYRO_RATEMAX 2000
|
|
|
|
# Store missions in RAM (no SD card on this board)
|
|
param set-default SYS_DM_BACKEND 1
|
|
|
|
# Ignore that there is no SD card
|
|
param set-default COM_ARM_SDCARD 0
|
|
|
|
# W25N NAND flash with littlefs (128 MB): small log file size so we can keep
|
|
# a few recent logs, and fill up to 95%.
|
|
param set-default SDLOG_ROTATE 95
|
|
param set-default SDLOG_MAX_SIZE 40
|