-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
[Library Manager]: Adafruit Circuit Playground Library #6462
Comments
What do you have selected in the Tools > Board menu? |
Arduino/GenuinoMega 2560 (ATmega 2560) and Arduino/Genuino UNO |
I can reproduce this. The cause is that Adafruit has changed the library EDIT: Possibly relevant: #5058 (comment) |
yah this is actually in an attempt to fix a problem we found where you can have the built-in/default "Adafruit_CircuitPlayground" and then when you try to update it, the new library is called "Adafruit_Circuit_Playground" and the compiler keeps using the old version. Since we couldn't figure out where the extra _ came from, we tried to rename the library.properties @cmaglie do you have any suggestions/way on how we can make sure that |
Currently, is there a fix for this? I get the update banner most every time I start the IDE. |
Here's the workaround:
to:
Alternative workaround:
Neither will solve the problem ladyada mentioned of the Arduino IDE using the previous library version due to the header filename/folder name mismatch of the library version installed via Library Manager. It's only a quick fix for the always updatable annoyance. Hopefully the root problem will be solved in time. |
The extra The fact that the compiler keeps using the old version is really weird, so I checked more deeply what's going on. I've found that:
it's the combination of 1, 2 and 3 that create the chaos here, becase when a sketch tries to include
the compiler gives priority to the (old) library that is bundled with the IDE since it has the folder name that match exactly with the include: Unfortunately changing the name of the library inside the library manager won't fix the problem because the IDE will recognize This is a very bad situation, so here some possible ways out that comes to my mind: SOLUTION 1: Rename This may be not optimal, but it's doable immediately. SOLUTION 2: Fix the bundled library in the IDE to have the correct folder name This will resolve the problem once for all, but needs a release of the IDE and users to upgrade their installation (as a side note: this is the curse of the bundled libraries...). One solution doesn't exclude the other, I can apply immediately the SOLUTION 2, but as I said it will require an IDE release (that should happen in a couple of days BTW). |
i think the confusion came because the name of the library is not the same as the name in the properties, my fault - i never realized this had to match up. |
ok ^ made a release. will try in an hour to see if it fixes things :) thank you for your help!!! |
@cmaglie ok i had to fix a few other bugs so i pushed a minor release to the library. i verified that new code that #include "Adafruit_Circuit_Playground.h" works, all of the older #include "Adafruit_CircuitPlayground.h" code still doesnt. Theres dozens of examples/tutorials, so i think i'd like to just hold out for Solution #2 if you dont mind! :) |
Hi there,
After a certain time after starting up the Arduino Application, there comes this little "Banner" on the bottom of the program which indicates there are some librarys not up to date. If I click on that I see Adafruit Circuit Playground Version 1.6.4, after updating and reopening the Library Manager it is still there, I also reinstalled allready the whole Arduino IDE (nothing changed). But in the /Arduino/libraries/ there appears everytime after "updating" a new folder with a Name like this "arduino_xxxxxx" (each x stays for one number between 0-9).
Further Information:
Arduino 1.8.3 IDE
Mac OS 10.12.5 on a MBP Retina 15" (Mid 2014)
Greets Simon
The text was updated successfully, but these errors were encountered: