A WebSocket Server and Client library for Arduino, based on RFC6455, for writing modern Websockets applications. Now support ESP8266, ESP32 (including ESP32-S2 Saola, AI-Thinker ESP-12K, WT32_ETH01, etc.), nRF52, SAMD21, SAMD51, SAM DUE, STM32F/L/H/G/WB/MP1, Teensy, RP2040-based, etc. boards, with WiFiNINA, Teensy 4.1 NativeEthernet/QNEthernet, Ethernet W5x00 / ENC28J60 / LAN8742A / LAN8720, ESP8266 / ESP32-AT modules/shields, as well as SINRIC / Alexa / Google Home
GNU General Public License v3.0
81
stars
30
forks
source link
Compile for Arduino Leonardo fails for missing STL #5
At first I would to say I'm new to Arduino world, that excuse me in advance if I made a mistake somewhere. Basically I have the Arduino Leonardo board with an ethernet shield with W5500 chip. I would to use your library to exchange data through WebSocket library but, using Visual Studio Code with platformio, I can't compile. The error refer to the include file not found. Googling around I discovered that AVR compiler miss the STL support but after tried to add some alternative package for import STL I still receive errors because you code makes heavy use of the STL library. I tried to read all the tutorial here but I don't understand yet if I miss some steps or is not possible to use the library with Leonardo board.
The Arduino AVR boards, such as Mega, UNO, Nano, Leonardo, etc. are not supported..
Please check and use the supported boards such as Arduino SAMD21, Adafruit SAMD21/SAMD51, Seeeduino SAMD21/SAMD51, nRF52, STM32F/L/H/G/WB/MP1, Teensy, SAM DUE
Hi
At first I would to say I'm new to Arduino world, that excuse me in advance if I made a mistake somewhere. Basically I have the Arduino Leonardo board with an ethernet shield with W5500 chip. I would to use your library to exchange data through WebSocket library but, using Visual Studio Code with platformio, I can't compile. The error refer to the include file not found. Googling around I discovered that AVR compiler miss the STL support but after tried to add some alternative package for import STL I still receive errors because you code makes heavy use of the STL library. I tried to read all the tutorial here but I don't understand yet if I miss some steps or is not possible to use the library with Leonardo board.
Can you help me?
Thank you