Drincann / Pico-Go

Raspberry Pi Pico support for VS Code
Other
8 stars 3 forks source link

Extension not working with VSCode 1.71.0 [Linux] #6

Open ma3oun opened 2 years ago

ma3oun commented 2 years ago

What are the steps to reproduce this issue?

  1. Update to latest VSCode 1.71.0 on linux
  2. Try to execute any command (e.g. Upload current file only)

What happens?

An error window pops up: "command 'picogo.uplodFile' not found"

What were you expecting to happen?

File upload

Any logs, error output, etc?

(If it’s long, please paste to https://gist.github.com and insert the link here)

Support info

Copy this from the Pico-Go > Help > Get support info option in the command palette:

This command also yields a "command not found error"

< Paste Here >
mattcaves commented 2 years ago

I'm having the same problem on VSCode 1.71.0 on Windows 11.

Try any command and it says: Command 'Pico-Go > xxx' resulted in an error (command 'picogo.xxx' not found)

paulober commented 2 years ago

The reason for that is that Pico-Go uses a package called serialport which needs native bindings. The bindings have to be re-generated for each version of VS Code. So this fork of Pico-Go doesn't include native bindings for the newer VS Code versions.

paulober commented 2 years ago

So you have to either downgrade you VS Code installation, wait for this extension to be upgraded or switch to Pico-W-Go which includes bindings for all new VS Code versions and many other improvements like bindings for the new Raspberry Pi Pico W board firmware.

ma3oun commented 2 years ago

Thanks @paulober . I have just installed Pico-W-Go and it also doesn't work. I get the same kind of errors. I'm creating the issue on your fork.

SteveBannister1 commented 2 years ago

I'm having the same problem on VSCode 1.71.0 on Windows 11 as well. I have also tried Pico-W-Go without success.

paulober commented 2 years ago

@SteveBannister1 see paulober/Pico-W-Go#16