knolleary / pubsubclient

A client library for the Arduino Ethernet Shield that provides support for MQTT.
http://pubsubclient.knolleary.net/
MIT License
3.78k stars 1.46k forks source link

#error "This library only supports boards with an AVR, SAM, SAMD, NRF52 or STM32F4 processor." #1049

Open 5calV opened 3 months ago

5calV commented 3 months ago

When trying to compile it for an ESP32-WROOM-32, I get following error:

error "This library only supports boards with an AVR, SAM, SAMD, NRF52 or STM32F4 processor."

I thought this lib is for the ESP32?

dominicdumont commented 3 months ago

Are you sure it's not another library thats giving you this error? I have searched for this string and could not find it anywhere in the code base. I use this with an ESP32 / ESP32-S3 and it does work. From what I can see from the library settings the support platform are: "platforms": [ "atmelavr", "espressif8266", "espressif32" ] https://github.com/knolleary/pubsubclient/blob/master/library.json