Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Extension not functional in ubuntu 20.04 - cannot use outdated arduino IDE 1.8.6 #1055

Closed
masynthetic opened this issue Jun 12, 2020 · 12 comments

Comments

@masynthetic
Copy link

masynthetic commented Jun 12, 2020

I am trying to get the Arduino extension to work in my VScode on Ubuntu 20.04 and as far as I can tell at this point it is not possible because according to

this and this

we cannot use an IDE beyond 1.8.6 however 1.8.6 does not install correctly on ubuntu 20.04. The IDE does install and (can?) be used but the "arduino" command does not work to launch it which is needed by VSCode. The desktop icon also does not appear. I am not sure what/if else didn't install correctly. If I go to the folder and run ./arduino.sh it opens the IDE. The 1.8.6 IDE is no longer supported.

I originally tried using the latest arduino IDE snap and the VScode snap but after discovering the apparent version issue (no board types, as linked) I installed the arduino IDE from tar.xz instead, and removed the snap arduino. VScode is still a snap. When Installing newest version of the IDE from tar the "arduino" command does work.

@hellyzh
Copy link
Contributor

hellyzh commented Jun 23, 2020

Suggest use the latest version of Arduino IDE which currently is 1.8.13

@hellyzh
Copy link
Contributor

hellyzh commented Jun 24, 2020

Is the issue no board types related to Arduino IDE issue arduino/Arduino#10335 which should be fixed. You can try use the lates arduino IDE again.

@hellyzh
Copy link
Contributor

hellyzh commented Jun 24, 2020

#1052 Arduino: Board Manager failed to run caused by Arduino IDE issue

@masynthetic
Copy link
Author

masynthetic commented Jun 24, 2020

@hellyzh

still no options found under select board type unfortunately

I am using the 1.8.13 arduino snap and have made sure to wipe all traces of the older versions.

are these configs correct?

"arduino.path": "/snap/bin",
"arduino.commandPath": "arduino",

@hellyzh
Copy link
Contributor

hellyzh commented Jun 24, 2020

The Windows Store's version of the Arduino IDE is not supported. Not tested arduino snap. Arduino IDE is supported.

@masynthetic
Copy link
Author

masynthetic commented Jun 25, 2020

The Windows Store's version of the Arduino IDE is not supported. Not tested arduino snap. Arduino IDE is supported.

happy to confirm standard 1.8.13 IDE works

@Barrut827
Copy link

is it fixed yet?

@masynthetic
Copy link
Author

is it fixed yet?

It does not work with the snap version of the arduino IDE but works fine if you follow standard install. Vscode is ok as a snap

@Barrut827
Copy link

is it fixed yet?

It does not work with the snap version of the arduino IDE but works fine if you follow standard install. Vscode is ok as a snap

Yep that did the trick, thanks!

@omarcoaur3lio
Copy link

@hellyzh

still no options found under select board type unfortunately

I am using the 1.8.13 arduino snap and have made sure to wipe all traces of the older versions.

are these configs correct?

"arduino.path": "/snap/bin",
"arduino.commandPath": "arduino",

Try something like this:

{
  "arduino.path": "/snap/arduino/56",
  "arduino.commandPath": "arduino",
}

in arduino.path the number 56 may vary.

@Comfort-Twala
Copy link

@hellyzh
still no options found under select board type unfortunately
I am using the 1.8.13 arduino snap and have made sure to wipe all traces of the older versions.
are these configs correct?
"arduino.path": "/snap/bin",
"arduino.commandPath": "arduino",

Try something like this:

{
  "arduino.path": "/snap/arduino/56",
  "arduino.commandPath": "arduino",
}

in arduino.path the number 56 may vary.

You're a LEGEND my Gee !!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants