Merge pull request #1269 from pkendall64/crsf-max-output
[ExpressLRS.git] / src / targets / siyi.ini
blob7487c0c85e6e4f7f34936b6581aa09937c3f8771
1 # ********************************
2 # Transmitter targets
3 # ********************************
5 [env:FM30_TX_via_STLINK]
6 extends = env_common_stm32, radio_2400
7 board = FM30
8 debug_tool = stlink
9 build_flags =
10 ${env_common_stm32.build_flags}
11 ${common_env_data.build_flags_tx}
12 ${radio_2400.build_flags}
13 -include target/FM30_TX.h
14 -DUSBCON
15 -DPIO_FRAMEWORK_ARDUINO_ENABLE_CDC
16 -DHSE_VALUE=16000000U
17 -DVECT_TAB_OFFSET=0x1000U
18 -Wl,--defsym=FLASH_APP_OFFSET=0x1000
19 src_filter = ${env_common_stm32.src_filter} -<rx_*.cpp>
20 upload_flags =
21 BOOTLOADER=bootloader/fm30_bootloader.bin
22 VECT_OFFSET=0x1000
24 [env:FM30_TX_via_DFU]
25 extends = env:FM30_TX_via_STLINK
27 # ********************************
28 # Receiver targets
29 # ********************************
31 [env:FM30_RX_MINI_via_STLINK]
32 extends = env_common_stm32, radio_2400
33 board = FM30_mini
34 build_flags =
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
42 upload_flags =
43 BOOTLOADER=bootloader/fm30_mini_bootloader.bin
44 VECT_OFFSET=0x4000
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
52 board = FM30_mini
53 build_flags =
54 ${env_common_stm32.build_flags}
55 ${common_env_data.build_flags_tx}
56 ${radio_2400.build_flags}
57 -D RX_AS_TX
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
62 upload_flags =
63 BOOTLOADER=bootloader/fm30_mini_rxtx_bootloader.bin
64 VECT_OFFSET=0x4000
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