I’m showing as having 192KB of Flash in FluidNC. Is it possible to increase this with a different ESP32? I’m not quite sure what this correlates to on ESP32 specs.
As I work on WebUI v3 extensions and themes, I’m running out of space. It’s still a manageable amount. You can do things like compress the files and minify HTML/CSS, but it would still be nice to have more.
It technically works to store these files on the SD, but I’m not sure if that has limitations.
I was able to compile the firmware to take advantage of it myself at one point. Takes it up to more than 1Mb of free space if I remember correctly
There’s a thread around here somewhere where someone else did too.
It’s not terribly difficult, you just have to make a couple changes to get the partitions right.
Doubling the flash doesn’t give you as much extra storage as you would think because of the way OTA updates work, it needs to be split somewhat evenly amongst the partitions
I’ve been wanting for a while to play around with using the additional flash space. The deployed system seems to be a bit tight to me, and this is one of the reasons I bought several of the V1 esp-32s to play with.
I’m glad you started this thread Jason. I changed these lines in the platformio.ini file and was able to update my V1E ESP32. I now have Total:1.77MB. Fluidnc seems to run smoother now too.
; board_build.partitions = min_littlefs.csv ; For 4M ESP32
board_build.partitions = FluidNC/ld/esp32/app3M_spiffs1M_8MB.csv ; For 8Meg ESP32
; board_build.partitions = FluidNC/ld/esp32/app3M_spiffs9M_16MB.csv ; For 16Meg ESP32
board_upload.maximum_size = 8388608 ; For 8Meg ESP32
board_upload.flash_size = 8MB ; For 8Meg ESP32
board_build.filesystem = littlefs
Are you guys using the pendant? I tried this, and then had trouble adding the pendant. I actually think it was unrelated, and the pendant (and everything else) is currently working with the standard build on the ESP32.
But going back and re-flashing the ESP32 could turn my fully functional machine back into a paperweight. So I’ve been reluctant. But if you guys are using the pendant with it, then perhaps I’ll revisit the project.
Yes, I am using the pendant. The pendant worked after the update. I am currently using the ‘FluidDial-CYD’ branch on my pendant. Mitch made some updates for it on that branch.
Be sure and download all your settings files. It erased mine and I had to upload all of them using Fluidterm.
config.yaml, index.html.gz, theme-V1E(Dark).gz, preferences.json