makes GPIO_PIN_RST optional for the sx1276
[ExpressLRS.git] / src / targets / imrc.ini
blobafd08d02166c281525699f9c4224eaccbe399f0a
2 # ********************************
3 # Transmitter targets
4 # ********************************
6 [env:GHOST_2400_TX_via_STLINK]
7 extends = env_common_stm32, radio_2400
8 board = GHOST_TX
9 build_flags =
10 ${env_common_stm32.build_flags}
11 ${common_env_data.build_flags_tx}
12 ${radio_2400.build_flags}
13 -include target/GHOST_2400_TX.h
14 -D DEBUG=1
15 -D HSE_VALUE=32000000U
16 -DVECT_TAB_OFFSET=0x08004000U
17 -Wl,--defsym=FLASH_APP_OFFSET=0x4000
18 src_filter = ${env_common_stm32.src_filter} -<rx_*.cpp>
19 upload_flags =
20 BOOTLOADER=bootloader/ghost/ghost_tx_bootloader.bin
21 VECT_OFFSET=0x4000
22 lib_deps =
23 ${env_common_stm32.lib_deps}
24 olikraus/U8g2@^2.28.8
26 [env:GHOST_2400_TX_LITE_via_STLINK]
27 extends = env:GHOST_2400_TX_via_STLINK
28 build_flags =
29 -include target/GHOST_2400_TX_LITE.h
30 ${env:GHOST_2400_TX_via_STLINK.build_flags}
32 # ********************************
33 # Receiver targets
34 # ********************************
36 [env:GHOST_ATTO_2400_RX_via_STLINK]
37 extends = env_common_stm32, radio_2400
38 board = GHOST_ATTO
39 build_flags =
40 ${env_common_stm32.build_flags}
41 ${common_env_data.build_flags_rx}
42 ${radio_2400.build_flags}
43 -include target/GHOST_ATTO_2400_RX.h
44 -D HSE_VALUE=32000000U
45 -DVECT_TAB_OFFSET=0x08004000U
46 -Wl,--defsym=FLASH_APP_OFFSET=0x4000
47 src_filter = ${env_common_stm32.src_filter} -<tx_*.cpp>
48 lib_deps =
49 lib_ignore = Servo
50 upload_flags =
51 BOOTLOADER=bootloader/ghost/ghost_atto_bootloader.bin
52 VECT_OFFSET=0x4000
54 [env:GHOST_ATTO_2400_RX_via_BetaflightPassthrough]
55 extends = env:GHOST_ATTO_2400_RX_via_STLINK