Esptool should be a one line command if you already have the bin file. IIRC, platformio uses that underneath to do the flashing.
But there is that weird spiff file system stuff too. I am pretty sure platformio can be configured to add in those steps. But I don’t know how it works.
FWIW, there should be a way to do it all in one program. If the chips don’t come with a bootloader (which they should… ). Then the program you use to flash the bootloader should be able to flash the bootloader, and the spiffs and the bin.
But I would have to figure out how that works. I always just reuse the parameters someone else has come up with.
I just popped a fresh one in. It does have some sort of bootloader in. So that program maybe adds a new one AND the esp3d program, then I log in over wifi and drop in the esp3d-ui files and my configs.
I just bought a neje E40 and am now looking at how to mount. I’m thinking a remixed quick release dovetail plate attached to the router holder. But I’m crap at remixing