grblHAL / core

grblHAL core code and master Wiki
Other
320 stars 84 forks source link

Teensy4.1 WebUI compile error #182

Closed pzh11001 closed 1 year ago

pzh11001 commented 2 years ago

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 image

After commenting out "/ / # define webui_enable 1", it can compile normally, start wschat.html, connect normally, and send commands normally image image

terjeio commented 2 years 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.

pzh11001 commented 2 years ago

I see, Thank you for your great work! Don't be too tired:)

terjeio commented 1 year ago

FYI WebUI v3 support is improving, flash filing system added etc...