8MB FluidNC build on V1E ESP32

If you’re building a V1E machine and using the Jackpot, you DO NOT need to compile FluidNC. I’m just a glutton for punishment. :grin:

Today I’ve been trying to build the 8MB version of FluidNC onto my V1E ESP32. It’s the white version with the 12/19/23 RC designation on the underside.

I spotted the problem with the “littlefs” line being above the other partitions and fixed that.

; 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_build.filesystem = littlefs 

And I get a success from PlatformIO:

But I get the “repeating reset” problem consistently on the board itself.

rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1184
load:0x40078000,len:13220
ho 0 tail 12 room 4
load:0x40080400,len:3028
entry 0x400805e4
ets Jul 29 2019 12:21:46

It builds the 4MB build fine, and it runs fine. The only 2 things I’ve noticed (and not solved) are that the version number is incomplete/wrong and it says noGit.

Grbl 3.0 [FluidNC v3.0.x (noGit) (wifi) '$' for help]

I download the repo for “FluidNC-3.7.14-webui3-test.” So I’m assuming there’s some flag or setting I’m missing.

I thought I’d ask here since it pertains to the V1E board. I did see that @Michael_Melancon has a short post on Discord regarding the “littlefs” issue.

1 Like

I got it building with the 8MB partition and working fine, but I’m not at home.

I can get you the necessary changes tomorrow night if you still need it

I think I had to change a couple things, and maybe their partition table wasn’t quite right or something

1 Like

Did you download the zip file of the source?

This is likely the way it is tagged if you didn’t clone the repo since there’s no commit information to pull to tag it

1 Like

Thanks for the reminder on the zip. I cloned the repo and can only get 3.7.13 as a version number. I can see the tag for 14, but it doesn’t let me use that one.

It works for me if I make 3 changes.

  • I move board_build.filesystem = littlefs below all board_build.partitions
  • I comment the 4M ESP32 partition csv and uncomment the 8Meg ESP32 csv.
  • I add board_upload.maximum_size and board_upload.flash_size as below.
; 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

Other notes:

  • In order to use any WebUI, I had to use fluidterm to upload an index.html.gz as well as my config.yaml.

If you have any other recommended changes, I’d be grateful.

Thanks

I think that sounds right.

As long as it runs and you see a larger than ~120K or whatever free space size, you should be ok