Merge pull request #1269 from pkendall64/crsf-max-output
[ExpressLRS.git] / src / targets / betafpv_2400.ini
blobfde4419271f625db0e461fd45c818ef7653df0e4
1 # ********************************
2 # Transmitter targets
3 # ********************************
5 [env:BETAFPV_2400_TX_via_UART]
6 extends = env_common_esp32, radio_2400
7 build_flags =
8 ${env_common_esp32.build_flags}
9 ${common_env_data.build_flags_tx}
10 ${radio_2400.build_flags}
11 -include target/BETAFPV_2400_TX.h
12 -D VTABLES_IN_FLASH=1
13 -O2
14 upload_speed = 460800
15 src_filter = ${env_common_esp32.src_filter} -<rx_*.cpp>
17 [env:BETAFPV_2400_TX_via_WIFI]
18 extends = env:BETAFPV_2400_TX_via_UART
20 [env:BETAFPV_2400_TX_MICRO_via_UART]
21 extends = env_common_esp32
22 build_flags =
23 ${env_common_esp32.build_flags}
24 ${common_env_data.build_flags_tx}
25 -include target/BETAFPV_2400_TX_MICRO.h
26 -D VTABLES_IN_FLASH=1
27 -O2
28 upload_speed = 460800
29 src_filter = ${env_common_esp32.src_filter} -<rx_*.cpp>
30 lib_deps =
31 ${env_common_esp32.lib_deps}
32 olikraus/U8g2@^2.28.8
34 [env:BETAFPV_2400_TX_MICRO_via_WIFI]
35 extends = env:BETAFPV_2400_TX_MICRO_via_UART
37 [env:BETAFPV_2400_TX_MICRO_1000mw_via_UART]
38 extends = env:BETAFPV_2400_TX_MICRO_via_UART
39 build_flags =
40 ${env_common_esp32.build_flags}
41 ${common_env_data.build_flags_tx}
42 -include target/BETAFPV_2400_TX_MICRO.h
43 -D VTABLES_IN_FLASH=1
44 -O2
45 -D BETAFPV_MICRO_1000MW
47 [env:BETAFPV_2400_TX_MICRO_1000mw_via_WIFI]
48 extends = env:BETAFPV_2400_TX_MICRO_1000mw_via_UART
51 # ********************************
52 # Receiver targets
53 # ********************************
55 [env:BETAFPV_2400_RX_via_UART]
56 extends = env_common_esp82xx, radio_2400
57 build_flags =
58 ${env_common_esp82xx.build_flags}
59 ${common_env_data.build_flags_rx}
60 ${radio_2400.build_flags}
61 -include target/BETAFPV_2400_RX.h
62 src_filter = ${env_common_esp82xx.src_filter} -<tx_*.cpp>
64 [env:BETAFPV_2400_RX_via_BetaflightPassthrough]
65 extends = env:BETAFPV_2400_RX_via_UART
66 upload_protocol = custom
67 upload_speed = 420000
68 upload_command = ${env_common_esp82xx.bf_upload_command}
70 [env:BETAFPV_2400_RX_via_WIFI]
71 extends = env:BETAFPV_2400_RX_via_UART