-
-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Close open serial monitor before uploading #49
Comments
We know about this issue and depend on microsoft/vscode#29855 A temporary solution is to use UPLOAD/SERIAL MONITOR buttons from bottom toolbar. In this case, we have control on the started tasks. |
But his is how I use it now, I'm pressing those buttons on toolbar, but if the serial monitor is open, upload will fail with message error about COM port not being available, therefore I have to first kill (CTRL+C) serial monitor and then hit upload. Thx. |
Yeah, I have the same issues? Are there any plans to fix this? |
Same issue here, some more intelligence on this would be nice! |
From Visual Studio Marketplace
|
It seems that you have multiple/conflicted extensions for VSCode. Please remove/disable the next extension for PlatformIO Project/Workspace:
Restart VSCode. Does it work now? |
Ha-ha. Is it a joke from Microsoft? See platformio-vscode-ide/package.json Line 552 in 8d54e66
We don’t depend on Arduino extension or Arduino IDE. Did you install this Arduino extension manually? Or, Microsoft installed it as addition to PlatformIO? |
I'm manually installd the Arduino IDE extension, much earlier than PlatformIO extension. |
Reported to microsoft/vscode#55050 |
I have the opposite problem: I'm using ArduinoOTA to upload firmware, and I'm annoyed that pressing the upload button automatically closes my serial monitor (which of course would make sense if I where uploading the firmware via serial connection, but it should check that's the case before closing the serial monitor) |
Here is one issue that annoys me quite a bit: if there is open serial monitor upload fails as given COM port can not be used. As I have terminal always open, I often forget to kill it before uploading the code and end up with error.
It would be very helpful that upload action preforms automatic closing of open serial monitor (should be configurable).
Thx.
Ivan
The text was updated successfully, but these errors were encountered: