Upload without recompile

Open a new pio terminal and use the following command:
pio run -t nobuild -t upload

You can also edit the toolbar and add this as an extra icon.

  • Click the VS Code Gear Icon
  • Choose “Settings”
  • Navigate to “Extensions / PlatformIO IDE”
  • Toolbar → choose "Edit in settings

Edit the toolbar like so:

...
   "platformio-ide.toolbar": [
        {
            "text": "$(debug-step-out)",
            "tooltip": "PlatformIO: Upload without build",
            "commands": [
                {
                    "id": "platformio-ide.runPIOCoreCommand",
                    "args": "pio run -t nobuild -t upload"
                }
            ]
        },
...
1 Like