Skip to content
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

Dependency on the Arduino IDE #47

Open
Falven opened this issue May 5, 2021 · 0 comments
Open

Dependency on the Arduino IDE #47

Falven opened this issue May 5, 2021 · 0 comments

Comments

@Falven
Copy link

Falven commented May 5, 2021

This should not have a hard dependency on the Arduino IDE. The way forward for Arduino is to use the CLI, even the installed IDE will use the CLI. It would be nice to be able to set your ARDUINO_INSTALL_PATH to the CLI path. I could try to make this change but it will take me a while to get up to speed on all of this code.

Also you shouldn't be reading all of these files, just invoke the executable and get the results directly from the CLI! It is much more efficient, readable and maintainable.
For example, getting the CLI version...

exec_program(Executable "${ARDUINO_INSTALL_PATH}/arduino-cli" "version" _version)
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

1 participant