JoachimF / JF-ECU32

RC Jet Engine ECU
GNU General Public License v3.0
5 stars 2 forks source link

Compilation Error #2

Open calimero4 opened 4 hours ago

calimero4 commented 4 hours ago

Hello Joachim, I've tried several esp idf's versions like the current one, 5.0.7 and 4.3.4 but I get always this result (with 4.3.4 some more):

fatal error: websocket_server.h: No such file or directory 33 | #include "websocket_server.h" | ^~~~~~~~ compilation terminated.

I changed the directory to the src folder, did a clean, opened the menuconfig and changed to 16mb and then did the build command with that result. Just building the bootboader works. Building only the app has the same result with the websocket_server.h file error.

Regards Matthias

JoachimF commented 4 hours ago

I'll go my computer and tell you all my setup.

calimero4 commented 4 hours ago

Sounds great!

JoachimF commented 3 hours ago

Hello,

So, my IDF is 5.0.7. You have to full clean the build, because my paths are differents than yours. I made a push. Can you try now?

calimero4 commented 3 hours ago

Yes I´ll try now.

calimero4 commented 3 hours ago

It worked now! There were some warnings, i copied them into the attached .txt file. errors.txt

calimero4 commented 2 hours ago

The Network also appears sometimes for a short time on an Iphone and Win10 Pc but a connection is not possible. I also removed the password or tried static ip but that does not help.

JoachimF commented 15 minutes ago

For the warnings, I have the sames, when I have time I solve them, but for now, it's working.

Without the good SSID and password, the ECU is AP during 1 minute with SSID JF-ECU32. After the AP will cut wifi and http server if you don't connect to the webpage, this is to economise battery and to not makes interferences with the remote controller.

The IP is http://192.168.4.1, I think but you have mdns, http://jf-ecu32.local. There is no HTTPS, so you have to write http:// each time.

Also you can use your wifi SSID and password in the config, somewhere you can type it, I let Zigbee in this field. You have to make a full compilation when you change that. The ECU will connect, but you have to open the webpage in the minute, else the wifi and the http server will shutdown. The mdns is also working, but the IP is given by your router.

Tell me if it's ok