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

"No Supported board is available" on linux. #707

Closed
Hergeirs opened this issue Nov 11, 2018 · 2 comments
Closed

"No Supported board is available" on linux. #707

Hergeirs opened this issue Nov 11, 2018 · 2 comments

Comments

@Hergeirs
Copy link

Hergeirs commented Nov 11, 2018

I Have tried following the readme but can't seem to get it too work under linux.

I get this error:
image

If i click the "select board type" on the button i get this:
image

I'm not sure what is wrong. Would appreciate some help on the matter.
My "arduino.json" content is:

{ "board": "arduino:avr:uno", "sketch": "sketch_oct30b/sketch_oct30b.ino", "port": "/dev/ttyACM0", "output": ".build/" }

I'm using an Arduino Uno board.

Edit:
Adding "settings.json" content as well:

{    
    "C_Cpp.intelliSenseEngine": "Tag Parser",
    "C_Cpp.intelliSenseEngineFallback": "Enabled",
    "arduino.path": "/usr/share/arduino",
    "arduino.logLevel": "info",
    "arduino.enableUSBDetection": true,
    "arduino.disableTestingOpen": false,
    "arduino.skipHeaderProvider": false,
    "arduino.additionalUrls": [
        "https://raw.githubusercontent.com/VSChina/azureiotdevkit_tools/master/package_azureboard_index.json",
        "http://arduino.esp8266.com/stable/package_esp8266com_index.json"
    ],
    "arduino.defaultBaudRate": 9600,
    "editor.renderWhitespace": "boundary",

}

The reason this is a problem is that I can't even try to "verify" or "upload" without selecting a board even though I beleive the "board" setting in "arduino.json" ought to be enough.

@czgtest
Copy link
Contributor

czgtest commented Nov 12, 2018

@Hergeirs Can you have a try bellow steps?

  1. install Arduino IDE 1.8.6, don't use Arduino IDE 1.8.7
    Note: Arduino IDE 1.8.7 has some breaking changes, as it will install board package and library fails. It is recommended that you install version 1.8.6

2.Open vscode , press F1 and select "Arduino: Board Manager" , install Arduino Uno board package.

  1. "select board type" to your install package.

@Hergeirs
Copy link
Author

Hergeirs commented Nov 12, 2018

Thank you.
Somehow I forgot downgrading the "arduino" package.
Issue was resolved after installing version 1.8.5 from the repos.

Will just add this for future reference (and to help googlers).
Using Arch linux you need to add your user to the uucp group to get access to /dev/tty/ACM0.
I.E. run sudo gpasswd -a <your-user> uucp and reboot.

Now I just need to get the includes right in the cpp-preference file :)

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

2 participants