8000 Does it work with the current released versions of Arduino-cli like 1.0.4? · Issue #42 · vscode-arduino/vscode-arduino · GitHub
[go: up one dir, main page]

Skip to content

Does it work with the current released versions of Arduino-cli like 1.0.4? #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
KurtE opened this issue Oct 16, 2024 · 2 comments
Open

Comments

@KurtE
Copy link
KurtE commented Oct 16, 2024

I have tried running it, by checking the box to use the CLI and
setting the address of where I expanded the executable into from the .tar.gz file

Note: I am trying it running on a Raspberry PI 5 64 bits, so I downloaded arduino-cli_1.0.4_linux_ARM64.tar.gz
I am able to build and upload sketches to the board I am playing with, which is a Teensy MicroMod.
This all works from a command prompt.

But if I insert the address to this CLI, most everything within Visual Studio Code stops working. Things like, trying to bring
up the board manager, or select a board, upload...

However if I remove the path from the setting: Arduino Path:
Then restart visual code, it downloads all of the indexes, and I am able to choose the Teensy, plus choose the port and settings and do a build and upload operations.

Thanks for everyone who supports this!
Kurt

@adiazulay
Copy link
adiazulay commented Oct 28, 2024

Are you setting the Arduino Path to the CLI executable or the directory containing it? Based on the readme it should be the directory.

I'm going off of the readme since I haven't contributed any code in a couple of years.

@KurtE
Copy link
Author
KurtE commented Oct 30, 2024

Thanks @adiazulay .

I have tried setting the arduino path to: /home/kurte/bin
I have also tried: /home/kurte/bin/arduino-cli

Likewise I have tried these with command path, left blank, and these two other options, and so none of them work.
My bin directory looks like:

kurte@RPI5:~/bin $ pwd
/home/kurte/bin
kurte@RPI5:~/bin $ ls -l
total 30672
-rwxr-xr-x 1 kurte kurte 31396307 Oct 10 15:46 arduino-cli
drwx------ 2 kurte kurte     4096 Oct 14 11:37 arduino-cli_1.0.4_Linux_ARM64
-rw-r--r-- 1 kurte kurte      113 Oct 11 07:05 arduino-cli.yaml
kurte@RPI5:~/bin $ 

And should mention, that this is on my path and the cli runs.

kurte@RPI5:~/bin $ arduino-cli version
arduino-cli  Version: 1.0.4 Commit: a0d912da Date: 2024-08-12T13:42:39Z

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

No branches or pull requests

2 participants
0