Permanently arm DJI (or other MSP displayport) air units using an RX (#3028)
[ExpressLRS.git] / src / targets / unified.ini
blob8320840f67c83e07ac762205d4e34233203af498
1 # ********************************
2 # Transmitter targets
3 # ********************************
5 # ESP32
7 [env:Unified_ESP32_2400_TX_via_ETX]
8 extends = env_common_esp32, radio_2400
9 build_flags =
10 ${env_common_esp32.build_flags}
11 ${radio_2400.build_flags}
12 ${common_env_data.build_flags_tx}
13 -include target/Unified_ESP32_TX.h
14 -D VTABLES_IN_FLASH=1
15 -O2
16 build_src_filter = ${env_common_esp32.build_src_filter} -<rx_*.cpp>
17 lib_deps =
18 ${env_common_esp32.tft_lib_deps}
19 ${env_common_esp32.oled_lib_deps}
20 SPIFFS
21 upload_speed = 460800
22 monitor_speed = 420000
24 [env:Unified_ESP32_2400_TX_via_UART]
25 extends = env:Unified_ESP32_2400_TX_via_ETX
27 [env:Unified_ESP32_2400_TX_via_WIFI]
28 extends = env:Unified_ESP32_2400_TX_via_ETX
30 [env:Unified_ESP32_900_TX_via_ETX]
31 extends = env_common_esp32, radio_900
32 build_flags =
33 ${env_common_esp32.build_flags}
34 ${radio_900.build_flags}
35 ${common_env_data.build_flags_tx}
36 -include target/Unified_ESP32_TX.h
37 -D VTABLES_IN_FLASH=1
38 -O2
39 build_src_filter = ${env_common_esp32.build_src_filter} -<rx_*.cpp>
40 lib_deps =
41 ${env_common_esp32.tft_lib_deps}
42 ${env_common_esp32.oled_lib_deps}
43 SPIFFS
44 upload_speed = 460800
45 monitor_speed = 460800
47 [env:Unified_ESP32_900_TX_via_UART]
48 extends = env:Unified_ESP32_900_TX_via_ETX
50 [env:Unified_ESP32_900_TX_via_WIFI]
51 extends = env:Unified_ESP32_900_TX_via_ETX
53 [env:Unified_ESP32_LR1121_TX_via_ETX]
54 extends = env_common_esp32, radio_LR1121
55 build_flags =
56 ${env_common_esp32.build_flags}
57 ${radio_LR1121.build_flags}
58 ${common_env_data.build_flags_tx}
59 -include target/Unified_ESP32_TX.h
60 -D VTABLES_IN_FLASH=1
61 -O2
62 build_src_filter = ${env_common_esp32.build_src_filter} -<rx_*.cpp>
63 lib_deps =
64 ${env_common_esp32.tft_lib_deps}
65 ${env_common_esp32.oled_lib_deps}
66 SPIFFS
67 upload_speed = 460800
68 monitor_speed = 460800
70 [env:Unified_ESP32_LR1121_TX_via_UART]
71 extends = env:Unified_ESP32_LR1121_TX_via_ETX
73 [env:Unified_ESP32_LR1121_TX_via_WIFI]
74 extends = env:Unified_ESP32_LR1121_TX_via_ETX
76 # ESP32 S3
78 [env:Unified_ESP32S3_2400_TX_via_ETX]
79 extends = env_common_esp32s3tx, radio_2400
80 build_flags =
81 ${env_common_esp32s3tx.build_flags}
82 ${radio_2400.build_flags}
83 ${common_env_data.build_flags_tx}
84 -include target/Unified_ESP32_TX.h
85 -D VTABLES_IN_FLASH=1
86 -O2
87 build_src_filter = ${env_common_esp32s3tx.build_src_filter} -<rx_*.cpp>
88 lib_deps =
89 ${env_common_esp32s3tx.tft_lib_deps}
90 ${env_common_esp32s3tx.oled_lib_deps}
91 SPIFFS
92 upload_speed = 460800
93 monitor_speed = 420000
95 [env:Unified_ESP32S3_2400_TX_via_UART]
96 extends = env:Unified_ESP32S3_2400_TX_via_ETX
98 [env:Unified_ESP32S3_2400_TX_via_WIFI]
99 extends = env:Unified_ESP32S3_2400_TX_via_ETX
101 [env:Unified_ESP32S3_900_TX_via_ETX]
102 extends = env_common_esp32s3tx, radio_900
103 build_flags =
104 ${env_common_esp32s3tx.build_flags}
105 ${radio_900.build_flags}
106 ${common_env_data.build_flags_tx}
107 -include target/Unified_ESP32_TX.h
108 -D VTABLES_IN_FLASH=1
110 build_src_filter = ${env_common_esp32s3tx.build_src_filter} -<rx_*.cpp>
111 lib_deps =
112 ${env_common_esp32s3tx.tft_lib_deps}
113 ${env_common_esp32s3tx.oled_lib_deps}
114 SPIFFS
115 upload_speed = 460800
116 monitor_speed = 460800
118 [env:Unified_ESP32S3_900_TX_via_UART]
119 extends = env:Unified_ESP32S3_900_TX_via_ETX
121 [env:Unified_ESP32S3_900_TX_via_WIFI]
122 extends = env:Unified_ESP32S3_900_TX_via_ETX
124 [env:Unified_ESP32S3_LR1121_TX_via_ETX]
125 extends = env_common_esp32s3tx, radio_LR1121
126 build_flags =
127 ${env_common_esp32s3tx.build_flags}
128 ${radio_LR1121.build_flags}
129 ${common_env_data.build_flags_tx}
130 -include target/Unified_ESP32_TX.h
131 -D VTABLES_IN_FLASH=1
133 build_src_filter = ${env_common_esp32s3tx.build_src_filter} -<rx_*.cpp>
134 lib_deps =
135 ${env_common_esp32s3tx.tft_lib_deps}
136 ${env_common_esp32s3tx.oled_lib_deps}
137 SPIFFS
138 upload_speed = 460800
139 monitor_speed = 460800
141 [env:Unified_ESP32S3_LR1121_TX_via_UART]
142 extends = env:Unified_ESP32S3_LR1121_TX_via_ETX
144 [env:Unified_ESP32S3_LR1121_TX_via_WIFI]
145 extends = env:Unified_ESP32S3_LR1121_TX_via_ETX
147 # ESP8285
149 [env:Unified_ESP8285_2400_TX_via_UART]
150 extends = env_common_esp82xx, radio_2400
151 board_build.f_cpu = 80000000L
152 build_flags =
153 ${env_common_esp82xx.build_flags}
154 ${radio_2400.build_flags}
155 ${common_env_data.build_flags_tx}
156 -include target/Unified_ESP8285_TX.h
157 build_src_filter = ${env_common_esp82xx.build_src_filter} -<rx_*.cpp>
158 board_build.ldscript = ./elrs.flash.1m64.ld
160 [env:Unified_ESP8285_2400_TX_via_WIFI]
161 extends = env:Unified_ESP8285_2400_TX_via_UART
163 [env:Unified_ESP8285_900_TX_via_UART]
164 extends = env_common_esp82xx, radio_900
165 board_build.f_cpu = 80000000L
166 build_flags =
167 ${env_common_esp82xx.build_flags}
168 ${radio_900.build_flags}
169 ${common_env_data.build_flags_tx}
170 -include target/Unified_ESP8285_TX.h
171 build_src_filter = ${env_common_esp82xx.build_src_filter} -<rx_*.cpp>
172 board_build.ldscript = ./elrs.flash.1m64.ld
174 [env:Unified_ESP8285_900_TX_via_WIFI]
175 extends = env:Unified_ESP8285_900_TX_via_UART
177 # ********************************
178 # Receiver targets
179 # ********************************
181 # ESP32
183 [env:Unified_ESP32_2400_RX_via_UART]
184 extends = env_common_esp32rx, radio_2400
185 build_flags =
186 ${env_common_esp32rx.build_flags}
187 ${radio_2400.build_flags}
188 ${common_env_data.build_flags_rx}
189 -include target/Unified_ESP_RX.h
190 build_src_filter = ${env_common_esp32rx.build_src_filter} -<tx_*.cpp>
192 [env:Unified_ESP32_2400_RX_via_BetaflightPassthrough]
193 extends = env:Unified_ESP32_2400_RX_via_UART
195 [env:Unified_ESP32_2400_RX_via_WIFI]
196 extends = env:Unified_ESP32_2400_RX_via_UART
198 [env:Unified_ESP32_900_RX_via_UART]
199 extends = env_common_esp32rx, radio_900
200 build_flags =
201 ${env_common_esp32rx.build_flags}
202 ${radio_900.build_flags}
203 ${common_env_data.build_flags_rx}
204 -include target/Unified_ESP_RX.h
205 build_src_filter = ${env_common_esp32rx.build_src_filter} -<tx_*.cpp>
207 [env:Unified_ESP32_900_RX_via_BetaflightPassthrough]
208 extends = env:Unified_ESP32_900_RX_via_UART
210 [env:Unified_ESP32_900_RX_via_WIFI]
211 extends = env:Unified_ESP32_900_RX_via_UART
213 [env:Unified_ESP32_LR1121_RX_via_UART]
214 extends = env_common_esp32rx, radio_LR1121
215 build_flags =
216 ${env_common_esp32rx.build_flags}
217 ${radio_LR1121.build_flags}
218 ${common_env_data.build_flags_rx}
219 -include target/Unified_ESP_RX.h
220 build_src_filter = ${env_common_esp32rx.build_src_filter} -<tx_*.cpp>
222 [env:Unified_ESP32_LR1121_RX_via_BetaflightPassthrough]
223 extends = env:Unified_ESP32_LR1121_RX_via_UART
225 [env:Unified_ESP32_LR1121_RX_via_WIFI]
226 extends = env:Unified_ESP32_LR1121_RX_via_UART
228 # ESP32-C3
230 [env:Unified_ESP32C3_2400_RX_via_UART]
231 extends = env_common_esp32c3rx, radio_2400
232 build_flags =
233 ${env_common_esp32c3rx.build_flags}
234 ${radio_2400.build_flags}
235 ${common_env_data.build_flags_rx}
236 -include target/Unified_ESP_RX.h
237 build_src_filter = ${env_common_esp32rx.build_src_filter} -<tx_*.cpp>
239 [env:Unified_ESP32C3_2400_RX_via_BetaflightPassthrough]
240 extends = env:Unified_ESP32C3_2400_RX_via_UART
242 [env:Unified_ESP32C3_2400_RX_via_WIFI]
243 extends = env:Unified_ESP32C3_2400_RX_via_UART
245 [env:Unified_ESP32C3_900_RX_via_UART]
246 extends = env_common_esp32c3rx, radio_900
247 build_flags =
248 ${env_common_esp32c3rx.build_flags}
249 ${radio_900.build_flags}
250 ${common_env_data.build_flags_rx}
251 -include target/Unified_ESP_RX.h
252 build_src_filter = ${env_common_esp32rx.build_src_filter} -<tx_*.cpp>
254 [env:Unified_ESP32C3_900_RX_via_BetaflightPassthrough]
255 extends = env:Unified_ESP32C3_900_RX_via_UART
257 [env:Unified_ESP32C3_900_RX_via_WIFI]
258 extends = env:Unified_ESP32C3_900_RX_via_UART
260 [env:Unified_ESP32C3_LR1121_RX_via_UART]
261 extends = env_common_esp32c3rx, radio_LR1121
262 build_flags =
263 ${env_common_esp32c3rx.build_flags}
264 ${radio_LR1121.build_flags}
265 ${common_env_data.build_flags_rx}
266 -include target/Unified_ESP_RX.h
267 build_src_filter = ${env_common_esp32rx.build_src_filter} -<tx_*.cpp>
269 [env:Unified_ESP32C3_LR1121_RX_via_BetaflightPassthrough]
270 extends = env:Unified_ESP32C3_LR1121_RX_via_UART
272 [env:Unified_ESP32C3_LR1121_RX_via_WIFI]
273 extends = env:Unified_ESP32C3_LR1121_RX_via_UART
275 # ESP8285
277 [env:Unified_ESP8285_2400_RX_via_UART]
278 extends = env_common_esp82xx, radio_2400
279 build_flags =
280 ${env_common_esp82xx.build_flags}
281 ${radio_2400.build_flags}
282 ${common_env_data.build_flags_rx}
283 -include target/Unified_ESP_RX.h
284 build_src_filter = ${env_common_esp82xx.build_src_filter} -<tx_*.cpp>
285 board_build.ldscript = ./elrs.flash.1m64.ld
287 [env:Unified_ESP8285_2400_RX_via_BetaflightPassthrough]
288 extends = env:Unified_ESP8285_2400_RX_via_UART
290 [env:Unified_ESP8285_2400_RX_via_WIFI]
291 extends = env:Unified_ESP8285_2400_RX_via_UART
293 [env:Unified_ESP8285_900_RX_via_UART]
294 extends = env_common_esp82xx, radio_900
295 build_flags =
296 ${env_common_esp82xx.build_flags}
297 ${radio_900.build_flags}
298 ${common_env_data.build_flags_rx}
299 -include target/Unified_ESP_RX.h
300 build_src_filter = ${env_common_esp82xx.build_src_filter} -<tx_*.cpp>
301 board_build.ldscript = ./elrs.flash.1m64.ld
303 [env:Unified_ESP8285_900_RX_via_BetaflightPassthrough]
304 extends = env:Unified_ESP8285_900_RX_via_UART
306 [env:Unified_ESP8285_900_RX_via_WIFI]
307 extends = env:Unified_ESP8285_900_RX_via_UART
309 # ESP32-S3
311 [env:Unified_ESP32S3_2400_RX_via_UART]
312 extends = env_common_esp32s3rx, radio_2400
313 build_flags =
314 ${env_common_esp32s3rx.build_flags}
315 ${radio_2400.build_flags}
316 ${common_env_data.build_flags_rx}
317 -include target/Unified_ESP_RX.h
318 build_src_filter = ${env_common_esp32rx.build_src_filter} -<tx_*.cpp>
320 [env:Unified_ESP32S3_2400_RX_via_BetaflightPassthrough]
321 extends = env:Unified_ESP32S3_2400_RX_via_UART
323 [env:Unified_ESP32S3_2400_RX_via_WIFI]
324 extends = env:Unified_ESP32S3_2400_RX_via_UART
326 [env:Unified_ESP32S3_900_RX_via_UART]
327 extends = env_common_esp32s3rx, radio_900
328 build_flags =
329 ${env_common_esp32s3rx.build_flags}
330 ${radio_900.build_flags}
331 ${common_env_data.build_flags_rx}
332 -include target/Unified_ESP_RX.h
333 build_src_filter = ${env_common_esp32rx.build_src_filter} -<tx_*.cpp>
335 [env:Unified_ESP32S3_900_RX_via_BetaflightPassthrough]
336 extends = env:Unified_ESP32S3_900_RX_via_UART
338 [env:Unified_ESP32S3_900_RX_via_WIFI]
339 extends = env:Unified_ESP32S3_900_RX_via_UART
341 [env:Unified_ESP32S3_LR1121_RX_via_UART]
342 extends = env_common_esp32s3rx, radio_LR1121
343 build_flags =
344 ${env_common_esp32s3rx.build_flags}
345 ${radio_LR1121.build_flags}
346 ${common_env_data.build_flags_rx}
347 -include target/Unified_ESP_RX.h
348 build_src_filter = ${env_common_esp32s3rx.build_src_filter} -<tx_*.cpp>
350 [env:Unified_ESP32S3_LR1121_RX_via_BetaflightPassthrough]
351 extends = env:Unified_ESP32S3_LR1121_RX_via_UART
353 [env:Unified_ESP32S3_LR1121_RX_via_WIFI]
354 extends = env:Unified_ESP32S3_LR1121_RX_via_UART