-
Notifications
You must be signed in to change notification settings - Fork 75
Description
Setup
- Arduino board: Circuit Playground Express ATSAMD21
- Arduino IDE version (found in Arduino -> About Arduino menu): 1.8.3 (MacOS and Ubuntu 17.04)
Reproduction of the bug
Installed Arduino's SAMD Boards via the Board manager (I had no luck at all to get CPE working with the Adafruit's AVR Boards manager)
Installed the last version of Circuit Playground Library (1.6.9) via the Library manager
Run the demo example.
The example won't compile and I Got an error message saying two things (macOs):
-
/Applications/Arduino/libraries/Adafruit_CircuitPlayground/utility/CP_Boards.h:708:2: error: #error "Please edit Boards.h with a hardware abstraction for this board"
-
That two libraries were found and only one was used. (I read this thread which clarifies a bit the situation)
Temporary fix
After multiple reinstallation of the board manager and the library, I finally got the examples to compile (with a lot of warnings!) and upload on board by changing the #include
directive from <Adafruit_CircuitPlayground.h>
to <Adafruit_Circuit_Playground.h>
(notice the second underscore).
Suggestion
I am a bit puzzled by that behaviour and wanted to know if I am alone.
If not, maybe we could fix that by changing the #include
in all examples ?