1 # ********************************
3 # ********************************
5 [env:FM30_TX_via_STLINK]
6 extends = env_common_stm32, radio_2400
10 $
{env_common_stm32.build_flags
}
11 $
{common_env_data.build_flags_tx
}
12 $
{radio_2400.build_flags
}
13 -include target
/FM30_TX.h
15 -DPIO_FRAMEWORK_ARDUINO_ENABLE_CDC
17 -DVECT_TAB_OFFSET=0x1000U
18 -Wl,--defsym=FLASH_APP_OFFSET=0x1000
19 src_filter = ${env_common_stm32.src_filter} -<rx_*.cpp>
21 BOOTLOADER=bootloader/fm30_bootloader.bin
25 extends = env:FM30_TX_via_STLINK
27 # ********************************
29 # ********************************
31 [env:FM30_RX_MINI_via_STLINK]
32 extends = env_common_stm32, radio_2400
35 $
{env_common_stm32.build_flags
}
36 $
{common_env_data.build_flags_rx
}
37 $
{radio_2400.build_flags
}
38 -include target
/FM30_RX_MINI.h
39 -D HSE_VALUE=16000000U
40 -D VECT_TAB_OFFSET=0x4000U
41 -Wl,--defsym=FLASH_APP_OFFSET=0x4000
43 BOOTLOADER=bootloader/fm30_mini_bootloader.bin
45 src_filter = ${env_common_stm32.src_filter} -<tx_*.cpp>
47 [env:FM30_RX_MINI_via_BetaflightPassthrough]
48 extends = env:FM30_RX_MINI_via_STLINK
50 [env:FM30_RX_MINI_AS_TX_via_STLINK]
51 extends = env_common_stm32, radio_2400
54 $
{env_common_stm32.build_flags
}
55 $
{common_env_data.build_flags_tx
}
56 $
{radio_2400.build_flags
}
58 -include target
/FM30_RX_MINI.h
59 -D HSE_VALUE=16000000U
60 -D VECT_TAB_OFFSET=0x4000U
61 -Wl,--defsym=FLASH_APP_OFFSET=0x4000
63 BOOTLOADER=bootloader/fm30_mini_rxtx_bootloader.bin
65 src_filter = ${env_common_stm32.src_filter} -<rx_*.cpp>
67 [env:FM30_RX_MINI_AS_TX_via_UART]
68 extends = env:FM30_RX_MINI_AS_TX_via_STLINK