Skip to content

Commit

Permalink
Allow binary flash of DUPLETX_ESP
Browse files Browse the repository at this point in the history
  • Loading branch information
CapnBry committed Sep 2, 2023
1 parent e663ea3 commit 994d9b4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/python/binary_flash.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,12 @@ def upload(options: FirmwareOptions, args):
elif args.flash == UploadMethod.stlink: # untested
return upload_stm32_stlink(args, options)
else:
if options.mcuType == MCUType.ESP32:
if options.mcuType == MCUType.ESP8266:
if args.flash == UploadMethod.uart:
return upload_esp8266_uart(args)
elif args.flash == UploadMethod.wifi:
return upload_wifi(args, options, ['elrs_tx', 'elrs_tx.local'], False)
elif options.mcuType == MCUType.ESP32:
if args.flash == UploadMethod.edgetx:
return upload_esp32_etx(args)
elif args.flash == UploadMethod.uart:
Expand Down

0 comments on commit 994d9b4

Please sign in to comment.