adafruit / Adafruit_Wippersnapper_Arduino

WipperSnapper is a firmware for creating no-code IoT electronics projects.
https://io.adafruit.com/welcome
MIT License
29 stars 44 forks source link

No PlatformIO.ini entry for Pico W #467

Closed bscherer-sdvi closed 1 year ago

bscherer-sdvi commented 1 year ago

Describe the bug Cant build for Pico W in PlatformIO (while Pico is a supported board for WipperSnapper, theres no PlatformIO.ini entry)

Arduino board Pico W

To Reproduce Steps to reproduce the behavior: Trying building for Pico W in PlatformIO

Expected behavior The ability to build for Pico W

Which components are connected to your device Which components are set up on the WipperSnapper device page?

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

bscherer-sdvi commented 1 year ago

I tried writing my own section but went down a dependency hell-hole where I couldnt seem to find some dependencies

[env:raspberrypi_pico_w]
platform = raspberrypi
board = pico
lib_ldf_mode = deep+
build_flags = -DUSE_TINYUSB=1
    -DARDUINO_RASPBERRY_PI_PICO_W
brentru commented 1 year ago

@bscherer-sdvi Unfortunately, RaspberryPi Trading Ltd. had a disagreement with PlatformIO Labs when it came to adding the Earlephilhower Arduino Pico core, the full details are on this PR: https://github.com/platformio/platform-raspberrypi/pull/36. The result is that there is no platformio package for the rp2040 anymore. .

As a result, I recommend compiling WipperSnapper for PicoW using the Earlephilhower and Arduino IDE.

I can leave this issue open if you're interested in trying out max's solution in (https://github.com/earlephilhower/arduino-pico/issues/1617), otherwise I will close it.

bscherer-sdvi commented 1 year ago

Thanks for the quick reply! I will try whats in that repo. Go ahead an close :)

bscherer-sdvi commented 1 year ago

err I can i see