Skip to content

OpenTX Compilation Options

Arne Schwabe edited this page Oct 10, 2017 · 3 revisions

This page is outdated and documents OpenTX 2.1

See Build Option for the non debug build options and for 2.2 and use cmake -LH to display the variables

OpenTX 2.1 compile options

Here is the list of all compile options available in openTx so that you may choose the ones that you need / want.

To compile the firmware here is the syntax: make OPTION1=VALUE1 OPTION2=VALUE2...

Option Default Alternatives Description
3POS NO POT1, POT2, POT3 Enable another 3 position switch to replace a pot
ARITHMETIC_OVERFLOW_CHECK NO YES Adds additional code to prevent arithmetic overflows
AUDIO NO YES Better Audio feedback (needs audio TX modification)
AUTOSOURCE NO YES Sources automatic selection
AUTOSWITCH NO YES In model setup menus automatically set switch
by moving some of them
BATTGRAPH NO YES TX battery graph on main screen
BLUETOOTH NO YES When sky9x board used: Bluetooth support added
BOLD YES NO In setup menu will be bold active FPs, DR/Expos,
Mixes and Switches
CORRECT_NEGATIVE_VALUES YES NO Corrects different rounding for negative values.
Instead of -99.9 you see -100.0, but uses more flash
CURVES YES NO Curves support
DBLKEYS NO YES Double key press [invert, +/UP max,
[min, UP/DOWN reset to default)
DEBUG NO YES Activates debug mode
DEFAULT_MODE NO 1, 2, 3, 4 Default TX mode
DSM2 NO SERIAL, PPM DSM2 protocol
EEPROM_PROGRESS_BAR NO YES Progress bar on EEPROM writing
EXT STD FRSKY, JETI, NMEA,
ARDUPILOT, MAVLINK,TELEMETREZ
Telemetry extension (needs TX modification)
FAI NO YES, CHOICE Enables FAI rules restrictions
FLIGHT_MODES YES NO Flight modes support
FONT STD STD, SQT5 Select font. The SQT5 font is heavier and looks
best on the low contrast display of the Taranis
FRSKY_HUB YES NO Frsky Hub supported (when EXT=FRSKY)
GAUGES YES NO Telemetry screen also as GAUGES
GPS YES NO GPS data support (saves 1.5k flash if disabled)
GRAPHICS YES NO Graphical sliders and check boxes
GVARS NO YES Global Variables
HAPTIC NO YES Haptic feedback (needs haptic TX modification)
HELI NO YES Heli support and menus
NAVIGATION NO POT1, POT2, POT3,
POTS, ROTENC
Use only POT1/2/3 in menus navigation
or all POTS, or Rotary encoder
PCB 9X 9X128, 9XR, 9XR128,
9XR2561, GRUVIN9X, MEGA2560, SKY9X,
TARANIS
Stock 9X/9XR or with Atmega 128,
gruvin9x, ersky9x, X9D boards
PCBREV REV1 (gruvin9x)
REVC (ersky9x)
REVPLUS (X9D+)
REV0, REVA, REVB Revision of the board
(ersky9x REVC/B/A or gruvin9x REV1/0)
(REVPLUS is used for the Taranis Plus)
PPM_CENTER_ADJUSTABLE NO YES Adjustable PPM center for servos in limits menu PPM_LIMITS_SYMETRICAL
PPM_UNIT PERCENT_PREC1 PERCENT_PREC0, US Units for PPM center in % or µs with precision 0 or 1
PWM_BACKLIGHT NO YES Fade IN/OUT Backlight using PWM
PXX NO YES PXX protocol (dev in progress...)
RTCLOCK YES NO Real time clock for gruvin9x, sky9x, x9d boards
SP22 NO YES SmartieParts 2.2 Backlight support
SPLASH YES NO Splash displayed on Tx start
TEMPLATES YES NO Templates screen enabled
TRANSLATIONS EN CZ, DE, ES, FR, IT, PL,
PT, SE
User interface language
TTS same as
TRANSLATIONS
CZ, DE, ES, EN, FR, IT,
PL, PT, SE, SK
Voice language
TX_CADDY NO YES For auto-switching between DSM2/X
and Fr-Sky transmitter modules on gruvin9x board
UNITS METRIC IMPERIAL Metric or Imperial units
VARIO YES NO Enable variable tone telemetry vario (when EXT=FRSKY)
VOICE NO YES Play Voice files (needs voice TX modification)
WS_HOW_HIGH YES NO Winged Shadow How High supported (when EXT=FRSKY)