2 # ********************************
4 # ********************************
6 [env:DIY_2400_TX_ESP32_SX1280_Mini_via_UART]
7 extends = env_common_esp32, radio_2400
9 $
{env_common_esp32.build_flags
}
10 $
{common_env_data.build_flags_tx
}
11 $
{radio_2400.build_flags
}
12 -include target
/DIY_2400_TX_ESP32_SX1280_Mini.h
15 src_filter = ${env_common_esp32.src_filter} -<rx_*.cpp>
17 [env:DIY_2400_TX_ESP32_SX1280_Mini_via_WIFI]
18 extends = env:DIY_2400_TX_ESP32_SX1280_Mini_via_UART
20 [env:DIY_2400_TX_ESP32_SX1280_E28_via_UART]
21 extends = env_common_esp32, radio_2400
23 $
{env_common_esp32.build_flags
}
24 $
{common_env_data.build_flags_tx
}
25 $
{radio_2400.build_flags
}
26 -include target
/DIY_2400_TX_ESP32_SX1280_E28.h
29 src_filter = ${env_common_esp32.src_filter} -<rx_*.cpp>
31 $
{env_common_esp32.lib_deps
}
34 [env:DIY_2400_TX_ESP32_SX1280_E28_via_WIFI]
35 extends = env:DIY_2400_TX_ESP32_SX1280_E28_via_UART
37 [env:DIY_2400_TX_ESP32_SX1280_LORA1280F27_via_UART]
38 extends = env_common_esp32, radio_2400
40 $
{env_common_esp32.build_flags
}
41 $
{common_env_data.build_flags_tx
}
42 $
{radio_2400.build_flags
}
43 -include target
/DIY_2400_TX_ESP32_SX1280_LORA1280F27.h
46 src_filter = ${env_common_esp32.src_filter} -<rx_*.cpp>
48 $
{env_common_esp32.lib_deps
}
51 [env:DIY_2400_TX_ESP32_SX1280_LORA1280F27_via_WIFI]
52 extends = env:DIY_2400_TX_ESP32_SX1280_LORA1280F27_via_UART
54 [env:DIY_2400_TX_ESP8285_SX1280_via_UART]
55 # Status: These TXes work as free-running transmitters, but do not have working halfduplex inverted UART
56 # to let them work in handsets so if someone could fix that for CapnBry, he'd love you with mouth
57 extends = env_common_esp82xx, radio_2400
59 $
{env_common_esp82xx.build_flags
}
60 $
{common_env_data.build_flags_tx
}
61 $
{radio_2400.build_flags
}
62 -include target
/DIY_2400_TX_ESP8285_SX1280.h
63 src_filter = ${env_common_esp82xx.src_filter} -<rx_*.cpp>
66 # ********************************
68 # ********************************
70 [env:DIY_2400_RX_ESP8285_SX1280_via_UART]
71 extends = env_common_esp82xx, radio_2400
73 $
{env_common_esp82xx.build_flags
}
74 $
{common_env_data.build_flags_rx
}
75 $
{radio_2400.build_flags
}
76 -include target
/DIY_2400_RX_ESP8285_SX1280.h
77 src_filter = ${env_common_esp82xx.src_filter} -<tx_*.cpp>
79 [env:DIY_2400_RX_ESP8285_SX1280_via_BetaflightPassthrough]
80 extends = env:DIY_2400_RX_ESP8285_SX1280_via_UART
81 upload_protocol = custom
83 upload_command = ${env_common_esp82xx.bf_upload_command}
85 [env:DIY_2400_RX_ESP8285_SX1280_via_WIFI]
86 extends = env:DIY_2400_RX_ESP8285_SX1280_via_UART
88 [env:DIY_2400_RX_PWMP_via_UART]
89 extends = env_common_esp82xx
91 $
{env_common_esp82xx.build_flags
}
92 $
{common_env_data.build_flags_rx
}
93 -include target
/DIY_2400_RX_PWMP.h
94 src_filter = ${env_common_esp82xx.src_filter} -<tx_*.cpp>
96 [env:DIY_2400_RX_PWMP_via_WIFI]
97 extends = env:DIY_2400_RX_PWMP_via_UART
99 [env:DIY_2400_RX_STM32_CCG_Nano_v0_5_via_STLINK]
100 extends = env_common_stm32, radio_2400
102 # max size = 131072 - 0x4000 = 114688
103 board_upload.maximum_size = 114688
105 $
{env_common_stm32.build_flags
}
106 $
{common_env_data.build_flags_rx
}
107 $
{radio_2400.build_flags
}
108 -include target
/DIY_2400_RX_STM32_CCG_Nano_v0_5.h
109 -D HAL_RTC_MODULE_DISABLED=1
110 -D HAL_ADC_MODULE_DISABLED=1
111 -D DISABLE_GENERIC_SERIALUSB=1
112 -D HSI_VALUE=16000000U
115 -D FLASH_BASE_ADDRESS='((uint32_t)((FLASH_SIZE) - FLASH_PAGE_SIZE))'
116 -D VECT_TAB_OFFSET=0x4000U
117 -D FLASH_APP_OFFSET=0x4000U
118 -Wl,--defsym=FLASH_APP_OFFSET=16K
119 src_filter = ${env_common_stm32.src_filter} -<tx_*.cpp>
121 BOOTLOADER=bootloader/sx1280_rx_nano_pcb_v0.5_bootloader.bin
124 [env:DIY_2400_RX_STM32_CCG_Nano_v0_5_via_BetaflightPassthrough]
125 extends = env:DIY_2400_RX_STM32_CCG_Nano_v0_5_via_STLINK