Skip to content

Port Switcher conflict with OTA upload (VSCode) #3851

Open
@arc12

Description

@arc12

VSCode 1.82.2
Platformio 3.3.1
Working with ESP8266

Setting Port Switcher in VSCode status bar conflicts with port for OTA upload when not "Auto".

[env:esp12e]
extends = core
monitor_speed = 115200
upload_port = COM4
monitor_port = COM4

[env:esp12e_ota]
extends = core
upload_protocol = espota
upload_port = 192.168.1.26

OTA fails when Port Switcher used because the serial port is substituted for the required IP addr.

Expected behaviour:

  • CERTAINLY to respect the upload_port setting when the upload_protocol = espota
  • POSSIBLY consider the Port Switcher to be the default, overridden by any upload_port environment setting

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions