mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-10 14:11:39 +08:00
known issues: - flash-based params does not work on H7 (due to ECC), so params are on SD card. The last flash sector is still reserved however. - output channel 6 does not support DShot (the implementation does not handle channel gaps) - flashing of the 2. flash bank is much slower (around 3x), than the 1. bank for some unknown reason. - after the BL jumps to the app, there's several seconds passing until stm32_boardinitialize() is called.
28 lines
728 B
Bash
28 lines
728 B
Bash
#!/bin/sh
|
|
#
|
|
# board specific defaults
|
|
#------------------------------------------------------------------------------
|
|
|
|
param set-default BAT1_V_DIV 11.2
|
|
param set-default BAT1_A_PER_V 59.5
|
|
|
|
# system_power unavailable
|
|
param set-default CBRK_SUPPLY_CHK 894281
|
|
|
|
# Select the Generic 250 Racer by default
|
|
param set-default SYS_AUTOSTART 4050
|
|
|
|
# use the Q attitude estimator, it works w/o mag or GPS.
|
|
param set-default SYS_MC_EST_GROUP 3
|
|
param set-default ATT_ACC_COMP 0
|
|
param set-default ATT_W_ACC 0.4000
|
|
param set-default ATT_W_GYRO_BIAS 0.0000
|
|
|
|
param set-default SYS_HAS_MAG 0
|
|
|
|
# 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
|
|
|