adafruit / Adafruit_CircuitPlayground

library for Circuit Playground board
171 stars 77 forks source link

How to write CP_Boards.h for Raspberry Pi Pico? #71

Open longware opened 4 months ago

longware commented 4 months ago

Arduino IDE says: c:\Users\xxx\Documents\Arduino\libraries\Adafruit_CircuitPlayground-1.12.0/utility/CP_Boards.h:746:2: error: #error "Please edit CP_Boards.h with a hardware abstraction for this board" 746 | #error "Please edit CP_Boards.h with a hardware abstraction for this board" | ^~~~~

I found that there are a lot of descriptions of the MCU in CPBoards.h file, but the number of #define constants/variables is different, so I don't know how to write it。 --!