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

Working on two Raspberry Pi Picos in two workspaces, uploading code copies to both #216

Open
mtyeager opened this issue Apr 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mtyeager
Copy link

VS Code Version: 1.87.2
OS Version: Debian 12 Bookworm
Steps to Reproduce:

  1. I am using VSCode on a Raspberry Pi 5 running Linux with two Raspberry Pi Picos attached via USB
  2. I have created two workspaces within VS Code, one for each Pico, I switch back and forth to edit each
  3. I have no problem connecting with each Pico, adding code seems straight forward
  4. 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
  5. This happens in either Pico workspace, they BOTH upload to BOTH
  6. If I write the code directly in the main.py file on the Pico, and then click Save it saves to BOTH Picos.
  7. 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.
  8. 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
@mtyeager mtyeager added the bug Something isn't working label Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant