Support For AdaFruit Macropad RP2040

I’m trying to get my AdaFruit Macropad RP2040 working on Platform IO, I got it mostly working using the nanorp2040 connect board type, however I’m struggling with a missing piece I cannot find documentation for – all of the predefined items for the specific platform (NUM_NEOPIXEL, PIN_NEOPIXEL, OLED_DC, etc.)

I’ve been trying to find what these should be based off of searching AdaFruit’s github repo, which isn’t super useful (it’s a mix of direction and misdirection it feels, I feel close but don’t quite have neither the keypad nor display working)

Is there a way to get full “out of the box” support like I had with the Arudino IDE, am I missing a step?

On Arudino IDE I need to add this as an additional board manager URL: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json but I don’t know how to do this normally for PlatformIO.

Support for the Arduino-Pico core is available, as documented in

https://arduino-pico.readthedocs.io/en/latest/platformio.html

Specifically,

[env:adafruit_macropad2040]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = adafruit_macropad2040
framework = arduino
board_build.filesystem_size = 0.5m
1 Like

@maxgerhardt

Super awesome! I got this working along with serial debug, this is great, thanks a ton!