Skip to main content
Version: Next

CLI Reference

The Rotorflight Command Line Interface (CLI) gives direct access to the flight controller's configuration and diagnostic functions. It is available through the CLI tab in Rotorflight Configurator, or via any serial terminal connected to a UART configured for MSP.

Accessing the CLI

Via Configurator: Click the CLI tab in the left-hand navigation. The CLI is ready immediately — no special activation is needed.

Via serial terminal: Connect to the UART at the configured baud rate (default 115200) and send a # character to activate the CLI.

Basic Usage

Key / CommandAction
helpList all available commands
help <search>Search commands by name or description
<Tab>Auto-complete command or argument
saveSave settings to EEPROM and reboot
exitExit CLI without saving (or power cycle)

Lines beginning with # are treated as comments and ignored.


Configuration Management

diff

Lists all settings that differ from the firmware defaults. This is the recommended way to produce a backup because the output is compact and portable.

diff [master|profile|rates|hardware|all] {defaults|bare}
Sub-optionEffect
(none)Current PID and rate profile only
allAll profiles
masterGlobal (non-profile) settings
profileCurrent PID profile
ratesCurrent rate profile
hardwareHardware-level settings (pin assignments, etc.)
defaultsInclude values that match defaults
bareOmit # comment headers — useful for scripting
# Recommended backup command
diff all

dump

Outputs every setting and its current value. The output is much larger than diff but is fully self-contained.

dump [master|profile|rates|hardware|all] {defaults|bare}

The sub-options are identical to those for diff.

defaults

Resets all settings back to firmware defaults and reboots.

defaults {show} {nosave} {bare} {group_id <id>}
OptionEffect
(none)Reset to defaults and save/reboot
nosaveReset in RAM only — do not save or reboot
showPrint the custom-defaults block without applying it
bareApply firmware defaults, ignoring any custom-defaults block
group_id <id>Reset only the parameter group with this ID

save

Writes the current in-RAM configuration to EEPROM and reboots.

save

batch

Groups multiple commands so that they are applied atomically. If any command inside the batch fails the batch is rolled back.

batch start
<commands>
batch end

Profile Management

profile

Shows the active PID profile, or switches to a different one. Profiles are zero-indexed (0–2).

profile          # show current profile index
profile <index> # switch to profile 0, 1, or 2

rateprofile

Shows the active rate profile, or switches to a different one. Rate profiles are zero-indexed (0–5).

rateprofile          # show current rate profile index
rateprofile <index> # switch to rate profile 0–5

Helicopter Configuration Commands

These commands are specific to Rotorflight helicopter configuration.

mixer

Configures the software mixer that routes stabilised flight controller outputs to physical servos and motors.

mixer status
mixer reset

mixer input
mixer input reset
mixer input <input> <min> <max> <rate>

mixer limit
mixer limit <input> <min> <max>

mixer rate
mixer rate <input> <rate>

mixer rule
mixer rule reset
mixer rule <index> [set|add|mul] <input> <output> <weight> <offset> [<modes>]
mixer rule <index> del

mixer override
mixer override off
mixer override <value>
mixer override <input> <value>|off

Mixer input names:

NameSource
SR SP SY SC STStabilised Roll / Pitch / Yaw / Collective / Throttle
CR CP CY CC CTRC Command Roll / Pitch / Yaw / Collective / Throttle
RR RP RY RC RTRaw RC Channel Roll / Pitch / Yaw / Collective / Throttle
AUX1 AUX2 AUX3Auxiliary RC channels
CH9CH18RC channels 9–18

Mixer output names: S1S26 (servos), M1M4 (motors)

Mixer rule operations: set, add, mul

servo

Configures servo parameters and allows real-time override for testing.

servo status
servo flags
servo flags <servo> <[+|-]FLAG> ...

servo <servo> <center> <min> <max> <-scale> <+scale> <update_rate> <speed> <flags>

servo override
servo override <value>|off
servo override <servo> <value>|off
  • <servo> is 1-based.
  • Center, min, and max are in microseconds (typical: 1500, 1000, 2000).
  • -scale and +scale are percentages (0–200).
  • update_rate is in Hz.
  • speed is in µs/second (0 = unlimited).

Servo flags:

FlagEffect
REVReverse servo direction
GEOApply geometric (trigonometric) correction

Use +FLAG to set a flag, -FLAG to clear it:

servo flags 1 +REV -GEO

Override range: 500–2500 µs; off to release override.

motor

Shows motor status and allows real-time throttle override for testing.

danger

Motor override commands spin the motor. Remove all propellers/blades before use.

motor status

motor override
motor override off
motor override <index> <value>|off
  • <index> is 1-based; use 0 or all to set all motors simultaneously.
  • <value> range: 1000–2000 (standard ESC range).
  • off releases the override and returns to normal control.

Get / Set Variables

set

Changes a configuration variable.

set                  # list all variables and current values
set <name>=<value> # set a specific variable

get

Reads the current value of one or more variables. Partial name matching is supported — get gov will show all governor-related variables.

get              # list all variables with values and ranges
get <name> # show a specific variable (partial name match supported)

Parameter reference

The table below lists all settable parameters, grouped by function. Parameters marked [profile] are per-PID-profile; those marked [rates] are per-rate-profile. All others are global (master) settings.

Use get <prefix> in the CLI to quickly filter a group — for example get gov_ shows all governor parameters.


Gyro

ParameterRange / ValuesDescription
gyro_hardware_lpfNORMAL OPTION_1 OPTION_2Hardware low-pass filter setting
gyro_rate_syncOFF ONSync gyro sample rate to PID loop
gyro_calib_duration50–3000Gyro calibration duration (ms × 10)
gyro_calib_noise_limit0–200Movement threshold that halts calibration
gyro_decimation_hz0–maxGyro sample decimation frequency (Hz)
gyro_lpf1_typeNONE PT1 PT2 PT3 BUTTER BESSELFirst gyro LPF filter type
gyro_lpf1_static_hz0–maxFirst gyro LPF cutoff (Hz)
gyro_lpf1_dyn_min_hz0–maxFirst gyro dynamic LPF minimum (Hz)
gyro_lpf1_dyn_max_hz0–maxFirst gyro dynamic LPF maximum (Hz)
gyro_lpf2_type(same as lpf1)Second gyro LPF filter type
gyro_lpf2_static_hz0–maxSecond gyro LPF cutoff (Hz)
gyro_notch1_hz0–maxStatic notch filter 1 centre (Hz)
gyro_notch1_cutoff0–maxStatic notch filter 1 cutoff (Hz)
gyro_notch2_hz0–maxStatic notch filter 2 centre (Hz)
gyro_notch2_cutoff0–maxStatic notch filter 2 cutoff (Hz)
gyro_overflow_detectOFF YAW ALLGyro overflow detection axis
dyn_notch_count0–maxNumber of dynamic notch filters
dyn_notch_q10–100Dynamic notch Q factor
dyn_notch_min_hz10–200Dynamic notch minimum frequency (Hz)
dyn_notch_max_hz100–500Dynamic notch maximum frequency (Hz)
gyro_1_sensor_alignDEFAULT CW0 CW90 CW180 CW270Physical orientation of gyro 1
gyro_1_align_roll-3600–3600Custom roll alignment (tenths of degrees)
gyro_1_align_pitch-3600–3600Custom pitch alignment
gyro_1_align_yaw-3600–3600Custom yaw alignment

Accelerometer

ParameterRange / ValuesDescription
acc_hardwareAUTO NONE ADXL345 MPU6050Accelerometer selection
acc_lpf_hz0–400Accelerometer LPF cutoff (Hz)
acc_trim_pitch-300–300Pitch trim offset (centidegrees)
acc_trim_roll-300–300Roll trim offset (centidegrees)
acc_calibrationarray[4]Accelerometer zero offsets + calibrated flag

Board Alignment

ParameterRange / ValuesDescription
align_board_roll-180–360Board roll offset (degrees)
align_board_pitch-180–360Board pitch offset (degrees)
align_board_yaw-180–360Board yaw offset (degrees)

Motor

ParameterRange / ValuesDescription
motor_pwm_protocolPWM ONESHOT125 DSHOT150 DSHOT300 DSHOT600 CASTLE DISABLEDESC signal protocol
motor_pwm_rate50–8000PWM output rate (Hz) — not used with DShot
min_throttle1000–2000Minimum armed throttle command (µs)
max_throttle1000–2000Maximum throttle command (µs)
min_command1000–2000Disarmed/off throttle command (µs)
use_unsynced_pwmOFF ONAllow PWM rate independent of loop rate
dshot_bidirOFF ONEnable bidirectional DShot (required for RPM telemetry)
dshot_burstOFF ON AUTODShot burst mode
dshot_bitbangOFF ON AUTOUse bit-bang DShot implementation
motor_polesarray[4]Pole count for each motor (for RPM calculation)
motor_rpm_lpfarray[4]LPF cutoff for each motor's RPM signal
motor_rpm_factorarray[4]RPM correction factor (signed, ×1000)
main_rotor_gear_ratioarray[2]Main rotor gear ratio as numerator/denominator
tail_rotor_gear_ratioarray[2]Tail rotor gear ratio as numerator/denominator

Mixer (Swash)

ParameterRange / ValuesDescription
main_rotor_dirCW CCWMain rotor rotation direction
tail_rotor_modeVARIABLE MOTORIZED BIDIRECTIONALTail rotor type
tail_motor_idle0–250Idle throttle for tail motor (motorised tail)
tail_center_trim-1000–1000Centre trim for tail servo
swash_typeNONE PASSTHROUGH CP120 CP135 CP140 FP90L FP90VSwashplate geometry
swash_ring0–100Cyclic ring limit (%)
swash_phase-1800–1800Swash phase angle (tenths of degrees)
swash_roll_trim-1000–1000Roll trim applied at swash
swash_pitch_trim-1000–1000Pitch trim applied at swash
swash_collective_trim-1000–1000Collective trim applied at swash
swash_pitch_limit0–3000Maximum swash pitch travel
swash_tta_precomp0–250Throttle-to-angle precompensation
swash_geo_correction-125–125Geometric (sine) correction strength
collective_tilt_correction_pos-100–100Collective-to-pitch coupling correction (positive collective)
collective_tilt_correction_neg-100–100Collective-to-pitch coupling correction (negative collective)

Governor (Global)

ParameterRange / ValuesDescription
gov_modeOFF LIMIT DIRECT ELECTRIC NITROGovernor operating mode
gov_throttle_typeNORMAL SWITCH FUNCTIONThrottle input interpretation
gov_startup_time0–600Motor startup time (tenths of seconds)
gov_spoolup_time0–600Spool-up ramp time (tenths of seconds)
gov_tracking_time0–600Time to reach target headspeed after spoolup
gov_recovery_time0–600Recovery ramp time after a dip
gov_spooldown_time0–600Spooldown ramp time (tenths of seconds)
gov_throttle_hold_timeout0–250Timeout before autorotation mode exits
gov_autorotation_timeout0–250Autorotation entry hold timeout
gov_handover_throttle10–100Throttle level at which governor takes over (%)
gov_idle_throttle0–250Idle throttle in LIMIT mode
gov_auto_throttle0–250Automatic collective-follow throttle
gov_bypass_throttlearray[GOV_CURVE_POINTS]Throttle curve for DIRECT/NITRO mode
gov_pwr_filter0–250Power input filter cutoff
gov_rpm_filter0–250RPM input filter cutoff
gov_tta_filter0–250Throttle-to-angle filter cutoff
gov_ff_filter0–250Feedforward filter cutoff
gov_d_filter0–250D-term filter cutoff

Governor (Per-Profile)

These are part of the PID profile and differ per profile.

ParameterRange / ValuesDescription
gov_headspeed0–50000Target headspeed (RPM) [profile]
gov_gain0–250Overall governor gain [profile]
gov_p_gain0–250Proportional gain [profile]
gov_i_gain0–250Integral gain [profile]
gov_d_gain0–250Derivative gain [profile]
gov_f_gain0–250Feedforward gain [profile]
gov_p_limit0–100P-term output limit (%) [profile]
gov_i_limit0–100I-term output limit (%) [profile]
gov_d_limit0–100D-term output limit (%) [profile]
gov_f_limit0–100Feedforward output limit (%) [profile]
gov_tta_gain0–250Throttle-to-angle gain [profile]
gov_tta_limit0–250TTA output limit [profile]
gov_yaw_ff_weight0–250Yaw torque feedforward weight [profile]
gov_cyclic_ff_weight0–250Cyclic load feedforward weight [profile]
gov_collective_ff_weight0–250Collective load feedforward weight [profile]
gov_max_throttle10–100Maximum governor output throttle (%) [profile]
gov_min_throttle10–100Minimum governor output throttle (%) [profile]
gov_fallback_drop0–50Throttle reduction during RPM fallback [profile]
gov_collective_curve5–40Collective feedforward curve shape [profile]
gov_dyn_min_throttle0–100Dynamic minimum throttle level [profile]
gov_use_fallback_precompOFF ONEnable fallback precompensation [profile]
gov_use_pid_spoolupOFF ONUse PID output during spoolup [profile]
gov_use_voltage_compOFF ONEnable battery voltage compensation [profile]
gov_use_dyn_min_throttleOFF ONEnable dynamic minimum throttle [profile]

PID Gains (Per-Profile)

ParameterRange / ValuesDescription
pid_mode0–9PID controller mode [profile]
pitch_p_gain0–2000Pitch P gain [profile]
pitch_i_gain0–2000Pitch I gain [profile]
pitch_d_gain0–2000Pitch D gain [profile]
pitch_f_gain0–2000Pitch feedforward gain [profile]
pitch_b_gain0–2000Pitch B-term (boost) gain [profile]
pitch_o_gain0–2000Pitch offset gain [profile]
roll_p_gain0–2000Roll P gain [profile]
roll_i_gain0–2000Roll I gain [profile]
roll_d_gain0–2000Roll D gain [profile]
roll_f_gain0–2000Roll feedforward gain [profile]
roll_b_gain0–2000Roll B-term (boost) gain [profile]
roll_o_gain0–2000Roll offset gain [profile]
yaw_p_gain0–2000Yaw P gain [profile]
yaw_i_gain0–2000Yaw I gain [profile]
yaw_d_gain0–2000Yaw D gain [profile]
yaw_f_gain0–2000Yaw feedforward gain [profile]
yaw_b_gain0–2000Yaw B-term (boost) gain [profile]
pitch_d_cutoff0–250Pitch D-term filter cutoff [profile]
pitch_b_cutoff0–250Pitch B-term filter cutoff [profile]
pitch_gyro_cutoff0–250Pitch gyro pre-filter cutoff [profile]
roll_d_cutoff0–250Roll D-term filter cutoff [profile]
roll_b_cutoff0–250Roll B-term filter cutoff [profile]
roll_gyro_cutoff0–250Roll gyro pre-filter cutoff [profile]
yaw_d_cutoff0–250Yaw D-term filter cutoff [profile]
yaw_b_cutoff0–250Yaw B-term filter cutoff [profile]
yaw_gyro_cutoff0–250Yaw gyro pre-filter cutoff [profile]
yaw_cw_stop_gain25–250Stop gain for clockwise yaw rotation [profile]
yaw_ccw_stop_gain25–250Stop gain for counter-clockwise yaw rotation [profile]
yaw_precomp_cutoff0–250Yaw precompensation filter cutoff [profile]
yaw_cyclic_ff_gain0–250Yaw cyclic feedforward gain [profile]
yaw_collective_ff_gain0–250Yaw collective feedforward gain [profile]
yaw_inertia_precomp_gain0–250Yaw inertia precompensation gain [profile]
yaw_inertia_precomp_cutoff0–250Yaw inertia precompensation cutoff [profile]
pitch_collective_ff_gain0–250Pitch collective feedforward gain [profile]
cyclic_cross_coupling_gain0–250Cyclic cross-coupling compensation gain [profile]
cyclic_cross_coupling_ratio0–200Roll-to-pitch coupling ratio [profile]
cyclic_cross_coupling_cutoff1–250Cross-coupling filter cutoff [profile]
error_limitarray[3]Max error accumulation per axis (Roll/Pitch/Yaw) [profile]
offset_limitarray[2]Max offset per axis (Roll/Pitch) [profile]
error_decay_time_ground0–250I-term decay speed on the ground [profile]
error_decay_time_cyclic0–250I-term decay speed in air (cyclic) [profile]
error_decay_time_yaw0–250I-term decay speed in air (yaw) [profile]
error_decay_limit_cyclic0–250I-term decay lower limit (cyclic) [profile]
error_decay_limit_yaw0–250I-term decay lower limit (yaw) [profile]
iterm_relax_typeOFF RP RPYI-term relax axis selection [profile]
iterm_relax_levelarray[3]I-term relax level per axis [profile]
iterm_relax_cutoffarray[3]I-term relax filter cutoff per axis [profile]
offset_flood_relax_level10–250Offset flood relaxation level [profile]
offset_flood_relax_cutoff1–100Offset flood relaxation filter cutoff [profile]
pid_process_denom1–16PID loop denominator (divides gyro rate)
filter_process_denom0–16Filter task denominator

Rescue Mode (Per-Profile)

ParameterRange / ValuesDescription
rescue_modeOFF CLIMB ALT_HOLDRescue mode type [profile]
rescue_flipOFF ONEnable auto-flip during rescue [profile]
rescue_flip_gain5–250Flip authority gain [profile]
rescue_level_gain5–250Levelling authority gain [profile]
rescue_pull_up_time0–250Pull-up phase duration (tenths of seconds) [profile]
rescue_climb_time0–250Climb phase duration [profile]
rescue_flip_time0–250Flip phase duration [profile]
rescue_exit_time0–250Exit/handback phase duration [profile]
rescue_pull_up_collective0–1000Collective during pull-up [profile]
rescue_climb_collective0–1000Collective during climb [profile]
rescue_hover_collective0–1000Collective at hover [profile]
rescue_hover_altitude0–10000Target hover altitude (cm) [profile]
rescue_alt_p_gain0–10000Altitude hold P gain [profile]
rescue_alt_i_gain0–10000Altitude hold I gain [profile]
rescue_alt_d_gain0–10000Altitude hold D gain [profile]
rescue_max_sp_rate1–1000Max setpoint rate during rescue [profile]
rescue_max_sp_accel1–10000Max setpoint acceleration during rescue [profile]
rescue_max_collective1–1000Max collective during rescue [profile]

Stability Modes (Per-Profile)

ParameterRange / ValuesDescription
angle_level_strength0–200Self-level authority in Angle mode [profile]
angle_level_limit10–90Max tilt in Angle mode (degrees) [profile]
horizon_level_strength0–200Self-level authority in Horizon mode [profile]
horizon_transition0–200Stick range over which Horizon transitions [profile]
horizon_tilt_effect0–250Tilt suppression in Horizon mode [profile]
horizon_tilt_expert_modeOFF ONExpert tilt calculation mode [profile]

Rate Profile

ParameterRange / ValuesDescription
rateprofile_namestringRate profile label [rates]
rates_typeNONE BETAFLIGHT RACEFLIGHT KISS ACTUAL QUICK ROTORFLIGHTRate algorithm [rates]
roll_rc_rate1–255Roll RC rate [rates]
pitch_rc_rate1–255Pitch RC rate [rates]
yaw_rc_rate1–255Yaw RC rate [rates]
collective_rc_rate1–255Collective RC rate [rates]
roll_expo0–100Roll expo [rates]
pitch_expo0–100Pitch expo [rates]
yaw_expo0–100Yaw expo [rates]
collective_expo0–100Collective expo [rates]
roll_srate0–255Roll super-rate [rates]
pitch_srate0–255Pitch super-rate [rates]
yaw_srate0–255Yaw super-rate [rates]
collective_srate0–255Collective super-rate [rates]
roll_accel_limit0–50000Roll acceleration limit (deg/s²) [rates]
pitch_accel_limit0–50000Pitch acceleration limit [rates]
yaw_accel_limit0–50000Yaw acceleration limit [rates]
collective_accel_limit0–50000Collective acceleration limit [rates]
roll_response0–250Roll response time filter [rates]
pitch_response0–250Pitch response time filter [rates]
yaw_response0–250Yaw response time filter [rates]
collective_response0–250Collective response time filter [rates]
cyclic_ring0–250Cyclic ring limit [rates]
roll_level_expo0–100Roll level-mode expo [rates]
pitch_level_expo0–100Pitch level-mode expo [rates]
setpoint_boost_gainarray[4]Setpoint boost gain per axis [rates]
setpoint_boost_cutoffarray[4]Setpoint boost cutoff per axis [rates]

RC Controls

ParameterRange / ValuesDescription
rc_center1200–1700RC channel centre value (µs)
rc_deflection250–750RC channel half-deflection (µs)
rc_min_throttle0–2100RC throttle minimum (µs)
rc_max_throttle0–2100RC throttle maximum (µs)
rc_smoothness0–250RC input smoothing strength
rc_thresholdarray[4]Dead-zone threshold per axis
deadband0–100Cyclic stick deadband (µs)
yaw_deadband0–100Yaw stick deadband (µs)
rx_pulse_min750–2250Minimum valid RC pulse width (µs)
rx_pulse_max750–2250Maximum valid RC pulse width (µs)

Receiver

ParameterRange / ValuesDescription
serialrx_providerSBUS CRSF FBUS IBUS SRXL2 GHSTSerial RX protocol
serialrx_invertedOFF ONInvert serial RX signal
serialrx_halfduplexOFF ONUse half-duplex UART
rssi_channel0–18AUX channel carrying RSSI (0 = disabled)
rssi_scale1–255RSSI scale factor
rssi_offset-100–100RSSI offset
rssi_invertOFF ONInvert RSSI value
sbus_baud_fastOFF ONUse 200 kbps SBUS instead of 100 kbps
crsf_use_rx_snrOFF ONUse SNR for RSSI in CRSF
crsf_telemetry_modeNATIVE CUSTOMCRSF telemetry mode
crsf_telemetry_link_rate0–50000Custom CRSF telemetry link rate
crsf_telemetry_link_ratio0–50000Custom CRSF telemetry link ratio

Failsafe

ParameterRange / ValuesDescription
failsafe_delay1–200Time before Stage 1 activates (tenths of seconds)
failsafe_off_delay0–200Time before Stage 2 activates after Stage 1
failsafe_throttle900–2100Throttle value during failsafe (µs)
failsafe_switch_modeSTAGE1 KILL STAGE2Behaviour when failsafe switch is used
failsafe_throttle_low_delay0–300Delay before allowing throttle-low arming after failsafe
failsafe_procedureAUTO-LAND DROP GPS-RESCUEFailsafe procedure
failsafe_recovery_delay0–200Hold time after signal returns before exit (tenths of s)
failsafe_stick_threshold0–50Stick movement threshold to confirm recovery

Battery & Voltage

ParameterRange / ValuesDescription
battery_cell_count0–24Manual cell count override (0 = auto-detect)
vbat_max_cell_voltage100–500Maximum cell voltage (centivolts)
vbat_full_cell_voltage100–500Full cell voltage
vbat_min_cell_voltage100–500Minimum cell voltage (cutoff warning)
vbat_warning_cell_voltage100–500Warning cell voltage
vbat_hysteresis0–250Voltage alarm hysteresis
vbat_detect_cell_voltage0–2000Voltage below which battery is considered absent
vbat_scale1–4095ADC voltage divider scale
vbat_divider1–255ADC voltage divider value
vbat_multiplier1–255ADC voltage multiplier
vbat_cutoff0–250ADC reading cutoff filter
vbec_scale / vbec_divider / vbec_multiplierBEC voltage ADC calibration
vbus_scale / vbus_divider / vbus_multiplierBus voltage ADC calibration
vext_scale / vext_divider / vext_multiplierExternal voltage ADC calibration
ibata_scale-16000–16000Battery current sensor scale
ibata_offset-32000–32000Battery current sensor offset
current_meterNONE ADC ESCCurrent sensor source
battery_meterNONE ADC ESCVoltage sensor source
bat_capacityarrayBattery capacity per profile (mAh)
vbat_lpf_hz0–255Voltage LPF cutoff (Hz)
ibat_lpf_hz0–255Current LPF cutoff (Hz)
use_vbat_alertsOFF ONEnable voltage alerts
use_cbat_alertsOFF ONEnable capacity alerts
cbat_alert_percent0–100Capacity remaining alert threshold (%)
vbat_cutoff_percent0–100Cutoff warning at this % of cells

Arming

ParameterRange / ValuesDescription
auto_disarm_delay0–60Auto-disarm after this many seconds on the ground (0 = off)
gyro_cal_on_first_armOFF ONCalibrate gyro on first arm
pwr_on_arm_grace0–30Seconds after power-on in which arming is allowed without gyro check
enable_stick_armingOFF ONEnable stick-based arm/disarm
enable_stick_commandsOFF ONEnable stick-combo commands
wiggle_strength0–100Swash wiggle amplitude (%)
wiggle_frequency2–50Swash wiggle frequency (Hz)
wiggle_enable_readyOFF ONWiggle when ready to arm
wiggle_enable_armedOFF ONWiggle on arm
wiggle_enable_errorOFF ONWiggle on arming error
wiggle_enable_fatalOFF ONWiggle on fatal error

RPM Filter

ParameterRange / ValuesDescription
gyro_rpm_notch_preset0–3RPM filter preset (0 = custom)
gyro_rpm_notch_min_hz1–100Minimum notch frequency (Hz)
gyro_rpm_notch_source_pitcharrayRPM source for each pitch notch
gyro_rpm_notch_center_pitcharrayCentre offset for each pitch notch
gyro_rpm_notch_q_pitcharrayQ factor for each pitch notch
gyro_rpm_notch_source_rollarrayRPM source for each roll notch
gyro_rpm_notch_center_rollarrayCentre offset for each roll notch
gyro_rpm_notch_q_rollarrayQ factor for each roll notch
gyro_rpm_notch_source_yawarrayRPM source for each yaw notch
gyro_rpm_notch_center_yawarrayCentre offset for each yaw notch
gyro_rpm_notch_q_yawarrayQ factor for each yaw notch

ESC Sensor

ParameterRange / ValuesDescription
esc_sensor_protocolOFF BLHELI32 HOBBYWINGV4 HOBBYWINGV5 SCORPION KONTRONIK OMPHOBBY ZTW APD OPENYGE FLYROTOR GRAUPNER XDFLY FBUS RECORDESC telemetry protocol
esc_sensor_halfduplexOFF ONHalf-duplex UART mode
esc_sensor_update_hz4–500Polling rate (Hz)
esc_sensor_current_offset0–16000Current zero offset
esc_sensor_filter_cutoff0–250Output LPF cutoff
esc_sensor_voltage_correction-100–125Voltage scaling correction (%)
esc_sensor_current_correction-100–125Current scaling correction (%)
esc_sensor_consumption_correction-100–125Consumption scaling correction (%)

Blackbox

ParameterRange / ValuesDescription
blackbox_modeOFF NORMAL ARMED SWITCHWhen to record
blackbox_deviceNONE SPIFLASH SDCARD SERIALStorage device
blackbox_rate_denom1–8000Logging rate denominator (1 = full rate)
blackbox_grace_period0–60Seconds to log after disarm
blackbox_log_commandOFF ONLog RC commands
blackbox_log_setpointOFF ONLog setpoints
blackbox_log_mixerOFF ONLog mixer outputs
blackbox_log_pidOFF ONLog PID terms
blackbox_log_gyroOFF ONLog filtered gyro
blackbox_log_gyro_rawOFF ONLog raw gyro
blackbox_log_attitudeOFF ONLog attitude (roll/pitch/yaw angles)
blackbox_log_motorsOFF ONLog motor outputs
blackbox_log_servosOFF ONLog servo outputs
blackbox_log_rpmOFF ONLog RPM data
blackbox_log_batteryOFF ONLog battery voltage and current
blackbox_log_governorOFF ONLog governor state
blackbox_log_escOFF ONLog ESC telemetry
blackbox_log_rssiOFF ONLog RSSI

Telemetry

ParameterRange / ValuesDescription
tlm_invertedOFF ONInvert telemetry signal
tlm_halfduplexOFF ONHalf-duplex telemetry UART
report_cell_voltageOFF ONReport per-cell voltage via telemetry
smartfuelOFF ONEnable SmartFuel telemetry
smartfuel_sourceCURRENT VOLTAGESmartFuel fuel-level source
telemetry_sensorsarraySensor IDs to include in telemetry
telemetry_intervalarrayInterval per sensor slot (ms)

FBUS Master / SBUS Output

ParameterRange / ValuesDescription
fbus_master_frame_rate25–550FBUS master output rate (Hz)
fbus_master_pinswapOFF ONSwap TX/RX pins
fbus_master_invertedOFF ONInvert FBUS output
fbus_master_telemetry_ratemin–maxTelemetry polling rate (Hz)
fbus_master_discovery_msmin–maxSensor discovery window (ms)
fbus_master_forwarded_sensorsarraySensor IDs to forward
sbus_out_frame_rate25–250SBUS output frame rate (Hz)
sbus_out_pinswapOFF ONSwap TX/RX pins
sbus_out_invertedOFF ONInvert SBUS output
sport_master_pinswapOFF ONSwap TX/RX pins on S.Port master
sport_master_invertedOFF ONInvert S.Port master signal
bus_servo_source_typearraySource type for each bus servo channel

Pilot / Model Info

ParameterRange / ValuesDescription
namestringCraft name (shown in OSD and telemetry)
display_namestringDisplay name
model_id0–99Model slot number
model_param1_typemodel_param3_typeNONE TIMER1GV9Type of custom model parameter
model_param1_valuemodel_param3_valueany int16Value of custom model parameter
model_set_nameOFF ONBroadcast model name in telemetry
model_tell_capacityOFF ONBroadcast battery capacity in telemetry

System

ParameterRange / ValuesDescription
debug_mode(see get debug_mode)Debug variable output slot selection
debug_axis0–255Axis selection for debug output
task_statisticsOFF ONTrack per-task timing statistics
scheduler_relax_rx0–500RX task determinism relaxation
scheduler_relax_osd0–500OSD task determinism relaxation
serial_update_rate_hz100–2000Serial port update rate
reboot_character48–126ASCII character that triggers CLI entry on serial port
imu_dcm_kp0–32000DCM complementary filter proportional gain
imu_dcm_ki0–32000DCM complementary filter integral gain
timezone_offset_minutes-840–840UTC offset for RTC clock

System Information

status

Displays a snapshot of the flight controller state: MCU type, clock speed, stack usage, EEPROM usage, detected sensors, active features, and armed/disarmed status.

status

version

Prints firmware version, build date, and target name.

version

tasks

Prints the scheduler task list with timing statistics (execution time, max, average, interval).

tasks

mcu_id

Prints the unique hardware ID of the microcontroller.

mcu_id

setpoint_info

Shows the current operational parameters of the setpoint smoothing filters.

setpoint_info

Receiver & RC

aux

Configures flight mode activation ranges on auxiliary RC channels.

aux <index> <mode> <aux> <start> <end> <logic>
  • <aux> is 0-based (AUX1 = 0).
  • <start> and <end> are channel values in µs (900–2100).
  • <logic>: 0 = normal, 1 = AND with previous range.

rxfail

Shows or sets per-channel failsafe behaviour.

rxfail                           # show all channel failsafe settings
rxfail <channel> <mode> [value] # set failsafe for a channel

Modes: a (auto), h (hold), s (set to value).

map

Shows or sets the RC channel input mapping.

map           # show current mapping
map <AETR> # set mapping (A=aileron/roll, E=elevator/pitch, T=throttle, R=rudder/yaw)

Feature Management

feature

Enables or disables firmware features.

feature list         # list all features and their state
feature <name> # enable a feature
feature -<name> # disable a feature

Available features include: RX_PPM, RX_SERIAL, SOFTSERIAL, GPS, RANGEFINDER, TELEMETRY, RX_PARALLEL_PWM, RX_MSP, RSSI_ADC, LED_STRIP, DASHBOARD, OSD, CMS, RX_SPI, GOVERNOR, ESC_SENSOR, FREQ_SENSOR, DYN_NOTCH, RPM_FILTER.


Hardware Configuration

resource

Shows or reassigns pin/peripheral resources.

resource                              # list all assigned resources
resource show [all] # detailed resource listing
resource <name> <index> <pin>|none # assign a resource to a pin

Pin format: A01, B04, C13, etc.

timer

Shows or reassigns timer channels.

timer                                         # list configured timers
timer list # list all timers
timer show # show timer assignments
timer <pin> list # list options for a pin
timer <pin> [af<n>|none] # assign alternate function

dma

Shows or reassigns DMA streams/channels (on targets that support DMA remapping).

dma show
dma list
dma <device> <index> list
dma <device> <index> [<option>|none]

serial

Shows or configures serial port functions, baud rates, and modes.

serial    # list all serial port configurations
serial <identifier> <function> <mspBaud> <gpsBaud> <teleBaud> <blackboxBaud>

ESC Programming

dshotprog

Sends DShot ESC commands.

dshotprog <index> <command>+

<index> selects the motor (1-based); <command> is a DShot command number.

dshot_telemetry_info

Displays DShot telemetry statistics (if DShot telemetry is enabled).

dshot_telemetry_info

beacon

Enables or disables the DShot beacon for specific arming conditions.

beacon list
beacon [<-><name>]

escprog

Passes through serial data to an ESC for programming (BLHeli/BLHeli_32/Kira configurator).

escprog <mode> <index>

Modes: sk (SimonK), bl (BLHeli), ki (Kira), cc (Castle Creations).


FBUS / S.Port

fbus_sensors

Shows all sensor IDs observed on the FBUS/S.Port bus. Useful for diagnosing sensor connections.

fbus_sensors         # show detected sensors
fbus_sensors clear # clear the sensor list

Serial Passthrough

serialpassthrough

Bridges a hardware UART directly to the USB VCP (or another UART). Used for ESC passthrough programming when the ESC is connected to a UART on the FC.

serialpassthrough <id1> [<baud1>] [<mode1>] [none|<dtr pinio>|reset] [<id2>] [<baud2>] [<mode2>]
  • <id> is the serial port identifier number.
  • <mode> is a combination of rx, tx characters (e.g. rxtx).
  • DTR pinio: a PINIO number used to assert DTR for BLHeli passthrough.

Adjustment Functions

adjfunc

Configures an inflight adjustment mapping — a range on an AUX channel that trims or switches a parameter.

adjfunc <index> <func> <enable_ch> <ena_start> <ena_end> <adj_ch> <dec_start> <dec_end> <inc_start> <inc_end> <step> <min> <max>
ParameterDescription
indexSlot number (0-based)
funcAdjustment function ID
enable_chAUX channel that gates this adjustment (0-based; 0xFF = always active)
ena_start / ena_endChannel value range (µs) that enables this slot
adj_chAUX channel that provides the increment/decrement signal
dec_start / dec_endChannel value range that decrements the value
inc_start / inc_endChannel value range that increments the value
stepAmount to change per activation
min / maxClamping limits for the adjusted parameter

LED Strip & Colours

These commands are only available when LED_STRIP is enabled.

led

Configures individual LED positions and functions.

led
led <index> <x,y:function:color:direction>

color

Configures the colour palette used by LED strip animations.

color
color <index> <hue,saturation,value>

mode_color

Sets the colours used for each flight mode in LED strip status mode.

mode_color
mode_color <mode> <direction> <colorIndex>

VTX Control

vtx

Configures VTX band/channel/power switching on AUX channel ranges.

vtx
vtx <index> <aux_channel> <vtx_band> <vtx_channel> <vtx_power> <start_range> <end_range>

vtx_info

Dumps the current VTX power table.

vtx_info

vtxtable

Configures the VTX frequency table.

vtxtable <band> <bandname> <bandletter> [FACTORY|CUSTOM] <freq> ...

GPS

gpspassthrough

Connects the GPS UART directly to the USB VCP for direct communication with the GPS module.

gpspassthrough

Board Information

board_name

Gets or sets the board model name stored in firmware.

board_name
board_name <name>

board_design

Gets or sets the board design identifier.

board_design
board_design <name>

manufacturer_id

Gets or sets the manufacturer ID.

manufacturer_id
manufacturer_id <id>

signature

Gets or sets the board type signature.

signature
signature <hex-signature>

Reboot / DFU

bl

Reboots into the bootloader.

bl        # reboot into ROM bootloader
bl rom # explicitly select ROM bootloader
bl flash # select flash-based bootloader (if present)

dfu

Reboots into DFU mode (STM32 USB DFU) for firmware flashing.

dfu

msc

Switches the flight controller into USB Mass Storage mode so the SD card appears as a drive.

msc                         # enter MSC mode
msc <timezone_offset_min> # enter MSC mode with RTC timezone offset

Flash Memory

These commands are available when onboard flash memory (Blackbox storage) is present.

flash_info

Shows the flash chip type, size, and used/free space.

flash_info

flash_erase

Erases the entire flash chip (clears all Blackbox logs).

flash_erase

Gyro Diagnostics

gyroregisters

Dumps the raw register contents of the gyro IC. Useful for diagnosing hardware issues.

gyroregisters

SD Card

sd_info

Shows SD card type, capacity, and filesystem state.

sd_info

Examples

Backup your configuration

diff all

Click Save to File in Configurator to store the output.

Restore from a backup

Open the backup file using Load from File in Configurator, then click Execute. Once complete:

save

Test a servo without flying

servo override 1 1200    # push servo 1 to 1200 µs
servo override 1 1800 # push servo 1 to 1800 µs
servo override off # release all servo overrides

Check what mixer rules are active

mixer rule

Enable RPM filtering

feature RPM_FILTER
save

Switch profile and confirm

profile 1
profile