MicroPico
MicroPico copied to clipboard
Working on two Raspberry Pi Picos in two workspaces, uploading code copies to both
VS Code Version: 1.87.2 OS Version: Debian 12 Bookworm Steps to Reproduce:
- I am using VSCode on a Raspberry Pi 5 running Linux with two Raspberry Pi Picos attached via USB
- I have created two workspaces within VS Code, one for each Pico, I switch back and forth to edit each
- I have no problem connecting with each Pico, adding code seems straight forward
- When I choose "Upload current file to Pico", the file is uploaded to BOTH Picos, not just the Pico that is part of that workspace
- This happens in either Pico workspace, they BOTH upload to BOTH
- If I write the code directly in the main.py file on the Pico, and then click Save it saves to BOTH Picos.
- I am unable to update code to a particular Pico without unplugging the other Pico first. Which is awkward since I cannot unplug either Pico since they reside along with the Raspberry Pi 5 enclosed in a wirelessly connected device.
- This problem may also happen when using Windows as the platform with the two Picos connected, but I have not tried that.
Which version of MicroPico are you using?
3.7.5
Support info
Copy this from the Help -> Info/About -> Copy
(Code -> About Visual Studio Code -> Copy
on macOS) option in Visual Studio Code:
Version: 1.87.2
Commit: 863d2581ecda6849923a2118d93a088b0745d9d6
Date: 2024-03-08T15:27:45.509Z
Electron: 27.3.2
ElectronBuildId: 26836302
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Linux arm64 6.6.20+rpt-rpi-2712