FYSETC / FYSETC-E4

FYSETC Board - The E4 board is a minimal 3D printer control board based on the ESP32 microcontroller from ESPRESSIF, with built-in Wi-Fi and Bluetooth.
https://www.aliexpress.com/item/1005001703930983.html
60 stars 30 forks source link

can't compile with new Platformio #45

Open 4kardes opened 2 years ago

4kardes commented 2 years ago

cant compile with new platformio

getting error

Compiling .pio\build\fysetc_e4\liba94\arduinoWebSockets\WebSockets.cpp.o In file included from .pio\libdeps\fysetc_e4\arduinoWebSockets\src\SocketIOclient.cpp:8:0: .pio\libdeps\fysetc_e4\arduinoWebSockets\src\WebSockets.h:190:30: fatal error: WiFiClientSecure.h: No such file or directory


compilation terminated. In file included from .pio\libdeps\fysetc_e4\arduinoWebSockets\src\WebSockets.cpp:25:0: .pio\libdeps\fysetc_e4\arduinoWebSockets\src\WebSockets.h:190:30: fatal error: WiFiClientSecure.h: No such file or directory


compilation terminated. [.pio\build\fysetc_e4\liba94\arduinoWebSockets\SocketIOclient.cpp.o] Error 1 [.pio\build\fysetc_e4\liba94\arduinoWebSockets\WebSockets.cpp.o] Error 1

Tigger777 commented 2 years ago

Have a look at Issue #40 the steps to follow are detailed there. Start with unmodified Marlin 2.1.x source, replace the config files with the attached ones.

You'll need to edit /ini/esp32.ini edit the first line:- platform = espressif32@3.4

Configurations.zip

In the attached files I've added a comments "// !!!DO1409" wherever I made changes.

Good luck

4kardes commented 2 years ago

thank you very much bro. I solved the case because of you