arduino-mqtt icon indicating copy to clipboard operation
arduino-mqtt copied to clipboard

RP2040 seems to work fine

Open savejeff opened this issue 1 year ago • 2 comments

Just wanted to inform that i tested arduino-mqtt on RP2040 / Raspberry Pi Pico W and with the earlephilhower/arduino-pico Core Here it works out of the box no issues!

Would be cool to have this added to the Readme, as it currently is not officially stated to work with RP2040

Great stuff

savejeff avatar Jan 13 '24 15:01 savejeff

Would you be up for contributing an example for the RP2024?

256dpi avatar Feb 10 '24 10:02 256dpi

the examples run out of the box, no midifications needed. You have to use the earlephilhower/arduino-pico and just compile.

For Platformio here an example configuration:


[env:BOARD_RP2040_PICO_W]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
platform_packages = framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git
board = rpipicow
board_build.core = earlephilhower
board_build.filesystem_size = 0.5m


the arduino core mimics the ESP32 core. so just include wifi: #include <WiFi.h>

savejeff avatar Feb 10 '24 10:02 savejeff