Just did this as well! Built and flashed the ESP32 with platform.io. Will be using a Raspberry Pi zero 2w with CNCjs as the GCode sender, the slow response on the esp32 webUI, and it failing to upload large NC files was getting tiresome.
Prior to the firmware upgrade, and after as well. The ESP32 CPU temperature climbs at least to 80C. Anyone else seeing their ESP32 really hot?
You don’t need to build it, you can just install it from the native installers. It’s one of the standard options.
As Ryan notes, one use case is laser machines. Another would be any environment where WiFi is not allowed (corporate security policies, for example.). A third would be continuing to use an ESP-32 where the radio has been blown and would boot loop the ESP if used.
Thanks MakerJim to clarify. I’m not using Laser but I agree with other use scenarios.
But still I will not be getting any more free flash memory, as everything will be the same; I thought that a new firmware was available (or was build) that will not have the webUI and other SW. or tus witf the instruction $Wifi/Mode=off, some space will be liberated. Please help me to understand.
Im referring on how to do as per above by Anonymus:
“I built the no-radio version of FluidNC and noted that the bin file was 43% smaller compared to the wifi version.”
Without re-partitioning the device flash, no additional space will appear on the file system of the ESP-32. Memory (ram) usage may go down a bit, but the real problems with these devices are from bugs in the code.
I’d recommend running either 3.7.17 or 3.9.2-pre1 if you’re seing OOM errors. To many bugs in intermediate firmware revisions.
The gcode files live on the SD card, so nothing to gain from free space elsewhere.
With a V1 ESP-32, you can re-partition and get a notable increase in on-device flash storage, but that generally doesn’t help with anything but lots of macros or multiple config files. (or a really big Web UI)
What are you trying to achieve?
If it’s just OOM issues, then use the firmware versions I mention above and try again.