forked from ExpressLRS/ExpressLRS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuser_defines.txt
More file actions
101 lines (72 loc) · 3.43 KB
/
user_defines.txt
File metadata and controls
101 lines (72 loc) · 3.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
### The Legal Stuff ###
# The use and operation of this type of device may require a license and some countries may forbid its use entirely.
# It is entirely up to the end user to ensure compliance with local regulations. No claim of regulatory compliance is made. In most cases a HAM license is required.
# This is experimental software/hardware and there is no guarantee of stability or reliability. USE AT YOUR OWN RISK
# HOW TO USE THIS FILE: https://www.expresslrs.org/1.0/software/user-defines/
# SIMPLY SEARCH WHICH DEFINE YOU NEED HELP WITH
### BINDING PHRASE: ###
# Uncomment the line below to use a hardcoded binding phrase
# Leave commented to use traditional binding
#-DMY_BINDING_PHRASE="default ExpressLRS binding phrase"
### REGULATORY DOMAIN: ###
# Domain is used to define correct frequency band for 900MHz hardware.
#-DRegulatory_Domain_AU_915
#-DRegulatory_Domain_EU_868
#-DRegulatory_Domain_IN_866
#-DRegulatory_Domain_AU_433
#-DRegulatory_Domain_EU_433
#-DRegulatory_Domain_FCC_915
### PERFORMANCE OPTIONS: ###
#unlocks >250mw output power for R9M and Happy Model ES915TX (Fan mod suggested: https://github.com/AlessandroAU/ExpressLRS/wiki/R9M-Fan-Mod-Cover)
#-DUNLOCK_HIGHER_POWER
#-DNO_SYNC_ON_ARM
-DFEATURE_OPENTX_SYNC
#-DFEATURE_OPENTX_SYNC_AUTOTUNE
-DLOCK_ON_FIRST_CONNECTION
### COMPATIBILITY OPTIONS: ###
# Invert the TX/RX half-duplex pin in the transmitter code. Handset external
# modules are almost all inverted. ESP32 targets only
-DUART_INVERTED
# Use a custom baud rate on the receiver for a KISS v1 FC (which runs at 400000) or any other oddball baud
# If not defined, will default to 420000
#-DRCVR_UART_BAUD=400000
# Invert the TX pin in the receiver code to allow an inverted RX pin on the
# FC to be used (usually labeled SBUS input or RXI). Inverted CRSF output.
# RX pin (telemetry) is unaffected. Update via_BetaflightPassthrough will
# not work, only via_Wifi. ESP8266/8285 targets only
#-DRCVR_INVERT_TX
# Use the SBUS **pin** on R9MM receiver hardware, which is inverted.
# Does not output SBUS protocol, just inverted CRSF.
#-DUSE_R9MM_R9MINI_SBUS
#-DTLM_REPORT_INTERVAL_MS=320LU
### OTHER OPTIONS: ###
-DAUTO_WIFI_ON_INTERVAL=60
#-DHOME_WIFI_SSID=""
#-DHOME_WIFI_PASSWORD=""
# Enables code for talking to a connected ESP8266 backpack on the TX module, and associated Lua params
# The device target should enable this automatically for devices that come with this, but can be added
# to any device.
#-DUSE_TX_BACKPACK
# Silence the buzzer
#-DDISABLE_ALL_BEEPS
# Disables the startup tune and crsf connect/disconnct do beep-boop
#-DDISABLE_STARTUP_BEEP
# Startup is beep-boop, and crsf connect/disconnct do similar
#-DJUST_BEEP_ONCE
# Startup plays you own custom tune and crsf connect/disconnct do beep-boop
#-DMY_STARTUP_MELODY="B5 16 P16 B5 16 P16 B5 16 P16 B5 2 G5 2 A5 2 B5 8 P4 A5 8 B5 1|140|-3"
#Comment this to disable diversity function
#-DUSE_DIVERSITY
#If commented out the LED is RGB otherwise GRB
#-DWS2812_IS_GRB
### Debugging options ###
# Turn on debug messages, if disabled then all debugging options (starting with DEBUG_) are disabled
#-DDEBUG_LOG
# Use DEBUG_LOG_VERBOSE instead (or both) to see verbose debug logging (spammy stuff)
#-DDEBUG_LOG_VERBOSE
# Print a letter for each packet received or missed (RX debugging)
#-DDEBUG_RX_SCOREBOARD
# Don't send RC msgs over UART
#-DDEBUG_CRSF_NO_OUTPUT
# These debugging options send extra information to BetaFlight in the LinkStatistics packet
#-DDEBUG_BF_LINK_STATS