-
-
Notifications
You must be signed in to change notification settings - Fork 404
CLI hijacks IDE binaries etc #173
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
Comments
It is the expected behavior for the Arduino IDE to use packages installed to If you want the Arduino IDE and arduino-cli to use separate data folders, you have a couple of options:
|
Hi @per1234 and thank you. Do you think I haven't seen this behaviour before because I never run the Happy to close this, and thanks again. Cheers, |
I think you haven't seen this behavior before because you haven't had a hardware core installed in You can run an experiment like this:
If you run a compilation with verbose output enabled, you should see that the Arduino IDE is now using the tools installed in the |
Hi @per1234 and thank you again. I did as you advised and yes, the updated packages etc were indeed found in the The reason it caused me a problem was because I'd been amending a couple of files under my original IDE location to "fix" something that was broken (I have a separate issue on that matter) and all of a sudden, my changes were never being picked up. That drove me nuts trying to see why my changes were apparently being ignored - until I turned verbose compilations on, and it was obvious. At least now I know what's happening, I can do the changes, as necessary, in the correct area now. :-) Cheers, |
Add verbose debug output for OTA logic
Disable LP048 for ARDUINO_LINT_LIBRARY_MANAGER_INDEXING mode
Arduino IDE: 1.8.5
CLI: 0.3.6 Alpha.
Linux Mint 19.1 64bit.
I installed the IDE, cleanly, by downloading the Linux compressed tar.gz file. I untarred it and started the IDE from within the extracted directory. After setting my preferrences to show verbose compilation and upload messages, compiling sketches used compilers etc from within the directory I was running the IDE from - where I had untarred it to.
NOTE: I did not run the
install.sh
script, I just run the IDE from wherever it happens to be.I then downloaded the latest CLI, version 0.3.6, for Linux and installed the
arduino:avr
platform which downloaded a few files into a freshly created~/.arduino15
directory. I then created and compiled a test sketch to ensure all was well. It was.However, whenever I compile a sketch in the IDE, it lists the compiler and source files from
~/arduino15
which belong to the CLI and not the IDE. The CLI has hijacked the IDE's files it seems.Cheers,
Norm.
The text was updated successfully, but these errors were encountered: