maxgerhardt / platform-raspberrypi

Raspberry Pi: development platform for PlatformIO
Apache License 2.0
94 stars 46 forks source link

Raspberry Pico W #10

Closed sstaub closed 1 year ago

sstaub commented 1 year ago

Support for Raspberry Pi Pico W.

maxgerhardt commented 1 year ago

This is currently added but untested by me on real hardware. The https://github.com/maxgerhardt/platform-raspberrypi/tree/develop/examples/arduino-wifi-scan compiles with the latest platform version.

I preordered my Pico W and am expecting it soon.

sstaub commented 1 year ago

I will try tomorrow.

maxgerhardt commented 1 year ago

Due to a linking bug that will be fixed in this PR, you currently have to call the WiFi init function manually, but then it was reported to work

maxgerhardt commented 1 year ago

Fixed in https://github.com/maxgerhardt/platform-raspberrypi/commit/bd2f3e756ba7340150f2bebc2d46110988243018, so after a pio pkg update -g -p raspberrypi you should be good to go.

sstaub commented 1 year ago

Tested with wifi-scan example and works fine.