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

Cannot find Arduino Path Mac #1538

Closed
T0mHutter opened this issue Sep 30, 2022 · 6 comments
Closed

Cannot find Arduino Path Mac #1538

T0mHutter opened this issue Sep 30, 2022 · 6 comments

Comments

@T0mHutter
Copy link

After I installed the IDE and the extension i cannot make out why its not working.
I have tried to reinstall both the ide and vscode (uninstalled the extension before that),
i tried mulitple locations for the extension (downloads/ applications)

I dont use the Cli and i have the command path set to 'Contents/MacOS/Arduino'.
I've also tried using it without the command path

@github-actions github-actions bot added the triage New issues that have not been reviewed. label Sep 30, 2022
@arminrosu
Copy link

arminrosu commented Oct 13, 2022

Are you also using Arduino IDE 2.0? Looks like it's not currently supported: #1477

I've set up the extension to use the arduino-cli instead of the IDE.

Just brew install arduino-cli, then follow this guide: https://medium.com/@thomas.kilmar/arduino-cli-with-visual-studio-code-on-macos-d2ad32ff0276. Replace the Arduino: Path value there with your path output by which arduino-cli

I can confirm Intellisense and Upload is working.

@T0mHutter
Copy link
Author

Thx that worked for me :)
Just have to edit the include Path now

@T0mHutter
Copy link
Author

Because I'm getting errors at for example serial etc.

@arminrosu
Copy link

Do you mean the typings? You need to run "Verify" on the project. That will create a correct .vscode/c_cpp_properties.json for you and typings will work.

@T0mHutter
Copy link
Author

Oh that was my mistake

@T0mHutter
Copy link
Author

I will close this issue now

@github-actions github-actions bot removed the triage New issues that have not been reviewed. label Oct 14, 2022
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