Skip to content
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

Remote Upload and Monitor not using environment config #4840

Open
YanisHessini opened this issue Aug 30, 2023 · 0 comments
Open

Remote Upload and Monitor not using environment config #4840

YanisHessini opened this issue Aug 30, 2023 · 0 comments

Comments

@YanisHessini
Copy link

I want 2 different environments, for local and remote.

I have this in my platformio.ini :

[env:remote]
upload_port = /dev/ttyUSB1
monitor_port = /dev/ttyUSB1

[env:local]
upload_port = COM4
monitor_port = COM4

By using the remote monitor (or upload, but it behaves the same), the port used will be the first specified (in this case, /dev/ttyUSB1).

image

It seems that upload_port and monitor_port aren't taken into account properly when using remote actions.
It works when using monitor on the current machine however : the right port is used.

Can you please fix the remote actions so that it uses the ports I specify in the environments ?

@ivankravets ivankravets transferred this issue from platformio/platformio-vscode-ide Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants