Upload Latest build without a Compile/Link

Thank you so much @maxgerhardt for that complete reply. It works local but not remote for me on Gitpod cloud.

I have been having a few VSCode setup issues (Great on my windows 10 laptop, bad on my windows 10 desktop) so it is really helpful seeing working code. I will file an issue, but only for the remote command. Your code and my own testing shows it works fine for a local VS code build. I am only having problems with my remote build

The following does not work for me running Platformio on a Gitpod Cloud docker github of it here
Open in Gitpod

pio remote run -t nobuild -t upload

.

The following works fine on a local computer running VS Code

pio  run -t nobuild -t upload

So I guess I now need someone with a cloud setup to test if “pio remote run -t nobuild -t upload” works for them.

On second thought I might be able to use 2 local computers to test out a remote build. Back in a bit.

.

So running VS-Code local on a windows machine with

pio account login
pio remote agent start

Then on a ubuntu laptop running VS-Code after changing your code to version 2! (By the way I used 9600 for the serial baud rate)

pio account login
pio remote run -t nobuild -t upload

I get serial output of

Version 2!

So it looks like the problem is with “pio remote run” not just on the Gitpod cloud platform. Can someone else confirm this?

Issue submitted to https://github.com/platformio/platformio-core/issues/3302

1 Like