Classic sketches on CPX boards.h error

Play with it! Please tell us which board you're using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
robot50
 
Posts: 1
Joined: Fri Jan 26, 2018 4:46 pm

Classic sketches on CPX boards.h error

Post by robot50 »

I am using the current version of the Arduino SAMD boards and the Circuit Playground 1.7 library under Arduino 1.8.1.

If I run old fashioned Arduino blink on the CPX all is well. When I run the CP version or any sketch with the #include <Adafruit_CircuitPlayground.h> line. I get this error:

C:\Program Files (x86)\Arduino\libraries\Adafruit_CircuitPlayground/utility/CP_Boards.h:708:2: error: #error "Please edit Boards.h with a hardware abstraction for this board"

#error "Please edit Boards.h with a hardware abstraction for this board"

Any suggestions?

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: Classic sketches on CPX boards.h error

Post by adafruit_support_mike »

Try updating the "Arduino SAMD Boards" and "Adafruit SAMD Boards" board support packages in the Boards Manager. That kind of error often means there's a version issue between the library and the low-level code.

Locked
Please be positive and constructive with your questions and comments.

Return to “Circuit Playground Classic, Circuit Playground Express, Circuit Playground Bluefruit”