sg-wireless / pymakr-vsc

GNU General Public License v3.0
97 stars 25 forks source link

[BUG] Adding device in File Explorer doesn't work #241

Closed maihde closed 2 years ago

maihde commented 2 years ago

Describe the bug Using PyMakr-VSC and clicking the "Open device in file explorer" I get a proper serial port in the explorer but it has an error.

To Reproduce Steps to reproduce the behavior:

  1. In the PyMakr panel connect to a device
  2. Click on 'Open device in file explorer'
  3. Open Explorer
  4. See error

Expected behavior The device folder opens and shows the contents of the device.

Screenshots image

Desktop (please complete the following information):

maihde commented 2 years ago

After some investigation, might be related to https://github.com/pycom/pymakr-vsc/discussions/224 since I'm running MicroPython.

maihde commented 2 years ago

My workaround was this:

  1. %USERPROFILE%/.vscode/extensions\pycom.pymakr-preview-2.13.2/package.json
  2. Find the line that looks like "match": "serialNumber=Example1234",
  3. Change the serialNumber to match your board, change the value to /
jakobrosenberg commented 2 years ago

Thanks for posting your solution @maihde.

I'm closing this as the issue is resolved.