2 # ********************************
4 # ********************************
6 [env:NamimnoRC_FLASH_2400_TX_via_STLINK]
7 extends = env_common_stm32, radio_2400
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>
18 BOOTLOADER=bootloader/namimnorc/tx/namimnorc_tx_bootloader.bin
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
27 $
{env_common_esp32.build_flags
}
28 $
{common_env_data.build_flags_tx
}
29 -include target
/NamimnoRC_FLASH_2400_OLED_TX.h
32 src_filter = ${env_common_esp32.src_filter} -<rx_*.cpp>
34 $
{env_common_esp32.lib_deps
}
37 [env:NamimnoRC_FLASH_2400_OLED_TX_via_WIFI]
38 extends = env:NamimnoRC_FLASH_2400_OLED_TX_via_UART
41 # ********************************
43 # ********************************
45 [env:NamimnoRC_FLASH_2400_RX_via_STLINK]
46 extends = env_common_stm32, radio_2400
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>
57 BOOTLOADER=bootloader/namimnorc/rx/flash_2400_bootloader.bin
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
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
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