makes GPIO_PIN_RST optional for the sx1276
[ExpressLRS.git] / src / targets / namimnorc_2400.ini
blob132edc5d9b6a6ea6f2fc89278c12611a43f47f7a
2 # ********************************
3 # Transmitter targets
4 # ********************************
6 [env:NamimnoRC_FLASH_2400_TX_via_STLINK]
7 extends = env_common_stm32, radio_2400
8 build_flags =
9 ${env_common_stm32.build_flags}
10 ${common_env_data.build_flags_tx}
11 ${radio_2400.build_flags}
12 -D HSE_VALUE=12000000U
13 -D VECT_TAB_OFFSET=0x4000U
14 -include target/NamimnoRC_FLASH_2400_TX.h
15 board_build.ldscript = variants/NamimnoRC_Alpha.ld
16 src_filter = ${env_common_stm32.src_filter} -<rx_*.cpp>
17 upload_flags =
18 BOOTLOADER=bootloader/namimnorc/tx/namimnorc_tx_bootloader.bin
19 VECT_OFFSET=0x4000
21 [env:NamimnoRC_FLASH_2400_TX_via_WIFI]
22 extends = env:NamimnoRC_FLASH_2400_TX_via_STLINK
24 [env:NamimnoRC_FLASH_2400_OLED_TX_via_UART]
25 extends = env_common_esp32
26 build_flags =
27 ${env_common_esp32.build_flags}
28 ${common_env_data.build_flags_tx}
29 -include target/NamimnoRC_FLASH_2400_OLED_TX.h
30 -D VTABLES_IN_FLASH=1
31 -O2
32 src_filter = ${env_common_esp32.src_filter} -<rx_*.cpp>
33 lib_deps =
34 ${env_common_esp32.lib_deps}
35 olikraus/U8g2@^2.28.8
37 [env:NamimnoRC_FLASH_2400_OLED_TX_via_WIFI]
38 extends = env:NamimnoRC_FLASH_2400_OLED_TX_via_UART
41 # ********************************
42 # Receiver targets
43 # ********************************
45 [env:NamimnoRC_FLASH_2400_RX_via_STLINK]
46 extends = env_common_stm32, radio_2400
47 build_flags =
48 ${env_common_stm32.build_flags}
49 ${common_env_data.build_flags_rx}
50 ${radio_2400.build_flags}
51 -D HSE_VALUE=12000000U
52 -D VECT_TAB_OFFSET=0x8000U
53 -include target/NamimnoRC_FLASH_2400_RX_STM32.h
54 board_build.ldscript = variants/R9MM/R9MM_ldscript.ld
55 src_filter = ${env_common_stm32.src_filter} -<tx_*.cpp>
56 upload_flags =
57 BOOTLOADER=bootloader/namimnorc/rx/flash_2400_bootloader.bin
58 VECT_OFFSET=0x8000
60 [env:NamimnoRC_FLASH_2400_RX_via_BetaflightPassthrough]
61 extends = env:NamimnoRC_FLASH_2400_RX_via_STLINK
63 [env:NamimnoRC_FLASH_2400_ESP_RX_via_UART]
64 extends = env_common_esp82xx, radio_2400
65 build_flags =
66 ${env_common_esp82xx.build_flags}
67 ${common_env_data.build_flags_rx}
68 ${radio_2400.build_flags}
69 -include target/NamimnoRC_FLASH_2400_RX_ESP8285.h
70 src_filter = ${env_common_esp82xx.src_filter} -<tx_*.cpp>
72 [env:NamimnoRC_FLASH_2400_ESP_RX_via_BetaflightPassthrough]
73 extends = env:NamimnoRC_FLASH_2400_ESP_RX_via_UART
74 upload_protocol = custom
75 upload_speed = 420000
76 upload_command = ${env_common_esp82xx.bf_upload_command}
78 [env:NamimnoRC_FLASH_2400_ESP_RX_via_WIFI]
79 extends = env:NamimnoRC_FLASH_2400_ESP_RX_via_UART