Closed pzh11001 closed 1 year ago
Another one forgotten...
Change LWIP_HTTPD_CUSTOM_FILES
in the patched lwipopts.h to
#define LWIP_HTTPD_CUSTOM_FILES 0
Be aware that the latest WebUI build is currently not working, I am looking into that now.
I see, Thank you for your great work! Don't be too tired:)
FYI WebUI v3 support is improving, flash filing system added etc...
I use Arduino ide 1.8.19. The MCU is teensy4.1
Download the latest grblHAL version, install the sdcard plug-in, networking plug-in, and webui plug-in. In "my_ machine.h" , i opening "define ethernet_enable 1" and "define sdcardenable 1" in the "my machine.h" file, it can compile successfully. And connect grblhal normally through Ethernet. I can use "wschat.html" . and the connection is successful and the command is sent normally .
However, when I open "define webuienable 1" in "my machine.h" file, a compilation error occurred. As follows: (I have patched all the plug-in according to the instructions, but it seems that there is a folder in "teensy41_ethernet master"library need to be deleted. I forget which folder it is.)
Error:
![image](https://user-images.githubusercontent.com/33888349/188304182-8a299d1c-49a0-43b9-ac87-2cdc8d6864f9.png)
After commenting out "/ / # define webui_enable 1", it can compile normally, start wschat.html, connect normally, and send commands normally
![image](https://user-images.githubusercontent.com/33888349/188304510-fcf5c0c3-47b0-4106-9e42-5c8f0fb750d5.png)