File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -304,8 +304,8 @@ src_filter = ${env:DIY_900_RX_ESP8285_SX127x_via_UART.src_filter}
304304upload_speed = 74880
305305upload_protocol = custom
306306upload_command =
307- python python/runpython.py $PYTHONEXE python/BFinitPassthrough.py 74880
308- python $PROJECT_PACKAGES_DIR/framework-arduinoespressif32 /tools/esptool.py --no-stub -b 74880 -c esp8266 --before no_reset --after soft_reset write_flash 0x0000 $SOURCE
307+ python $PROJECT_DIR/ python/BFinitPassthrough.py $UPLOAD_SPEED
308+ python $PROJECT_PACKAGES_DIR/framework-arduinoespressif8266 /tools/esptool/esptool .py --no-stub -b $UPLOAD_SPEED -c esp8266 --before no_reset --after soft_reset write_flash 0x0000 $SOURCE
309309
310310[env:DIY_2400_TX_ESP32_SX1280_Mini_via_UART]
311311@@ -411,8 +411,8 @@ board_build.f_cpu = ${env:DIY_2400_RX_ESP8285_SX1280_via_UART.board_build.f_cpu}
411411src_filter = ${env:DIY_2400_RX_ESP8285_SX1280_via_UART.src_filter}
412412upload_protocol = custom
413413upload_command =
414- python python/runpython.py $PYTHONEXE python/BFinitPassthrough.py $UPLOAD_SPEED
415- python $PROJECT_PACKAGES_DIR/framework-arduinoespressif32 /tools/esptool.py --no-stub -b $UPLOAD_SPEED -c esp8266 --before no_reset --after soft_reset write_flash 0x0000 $SOURCE
414+ python $PROJECT_DIR/ python/BFinitPassthrough.py $UPLOAD_SPEED
415+ python $PROJECT_PACKAGES_DIR/framework-arduinoespressif8266 /tools/esptool /esptool.py --no-stub -b $UPLOAD_SPEED -c esp8266 --before no_reset --after soft_reset write_flash 0x0000 $SOURCE
416416
417417[env:DIY_2400_RX_STM32_CCG_Nano_v0_5]
418418
Original file line number Diff line number Diff line change 99# don't overwrite if custom command defined
1010if stm and "$UPLOADER $UPLOADERFLAGS" in env .get ('UPLOADCMD' , '$UPLOADER $UPLOADERFLAGS' ):
1111 target_name = env ['PIOENV' ].upper ()
12- print ("STM ENv : '%s'" % target_name )
12+ print ("STM ENV : '%s'" % target_name )
1313 if "_R9M_" in target_name :
1414 env .AddPostAction ("buildprog" , [opentx .gen_elrs ])
1515 if "WIFI" in target_name :
You can’t perform that action at this time.
0 commit comments