makes GPIO_PIN_RST optional for the sx1276
[ExpressLRS.git] / src / targets / iFlight_2400.ini
blob736ad0ca5ca836d6347b97ad9e7f7e15e92ac58e
2 # ********************************
3 # Transmitter targets
4 # ********************************
6 [env:iFlight_2400_TX_via_UART]
7 extends = env_common_esp32, radio_2400
8 build_flags =
9 ${env_common_esp32.build_flags}
10 ${common_env_data.build_flags_tx}
11 ${radio_2400.build_flags}
12 -include target/iFlight_2400_TX.h
13 -D VTABLES_IN_FLASH=1
14 -O2
15 src_filter = ${env_common_esp32.src_filter} -<rx_*.cpp>
16 lib_deps =
17 ${env_common_esp32.lib_deps}
19 [env:iFlight_2400_TX_via_WIFI]
20 extends = env:iFlight_2400_TX_via_UART
22 # ********************************
23 # Receiver targets
24 # ********************************
26 [env:iFlight_2400_RX_via_UART]
27 extends = env_common_esp82xx, radio_2400
28 build_flags =
29 ${env_common_esp82xx.build_flags}
30 ${common_env_data.build_flags_rx}
31 ${radio_2400.build_flags}
32 -include target/iFlight_2400_RX.h
33 src_filter = ${env_common_esp82xx.src_filter} -<tx_*.cpp>
35 [env:iFlight_2400_RX_via_BetaflightPassthrough]
36 extends = env:iFlight_2400_RX_via_UART
37 upload_protocol = custom
38 upload_speed = 420000
39 upload_command = ${env_common_esp82xx.bf_upload_command}
41 [env:iFlight_2400_RX_via_WIFI]
42 extends = env:iFlight_2400_RX_via_UART