platformio / platformio-vscode-ide

PlatformIO IDE for VSCode: The next generation integrated development environment for IoT
https://marketplace.visualstudio.com/items?itemName=platformio.platformio-ide
Apache License 2.0
1.22k stars 195 forks source link

Port Switcher conflict with OTA upload (VSCode) #3851

Open arc12 opened 1 year ago

arc12 commented 1 year ago

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:

stale[bot] commented 10 months ago

This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.

arc12 commented 10 months ago

bump!

ivankravets commented 9 months ago

A temporary solution is to use the "Auto" port.