fluidterm icon indicating copy to clipboard operation
fluidterm copied to clipboard

Creating config file without WIFI

Open honeybadger2023 opened this issue 2 years ago • 7 comments

Hi,

I'm trying to write a config file without the use of WIFI or any Serial communication. Fluidterm is not working. It doesn't connect. So I decided to "hardcode" a config file by using the FluidPath and Filestream classes like it is done within the WebUI but I keep failing.

What is the best way to get a config file on the board without any external interfaces?

Is it possible to just use littlefs or spiffs to write the file?

honeybadger2023 avatar Jun 08 '23 16:06 honeybadger2023

And another question: I use a custom ESP motion controller PCB and one Stepper is connected to a PIN that FluidNC would like to use for uart. Is it possible to completely disable any UART or is this needed?

honeybadger2023 avatar Jun 08 '23 16:06 honeybadger2023

If you can compile the firmware, you can put your config file in the data/ directory and execute "pio run -t buildfs" to create a filesystem image that you can upload with esptool. It will be located in .pio/build/wifi/littlefs.bin

But you really should take a step back and get FluidTerm working. Maintenance will be very difficult otherwise.

If you want to disable all UARTs, you will have to modify the code. We don't have time to help with custom boards. All of our normal use cases assume that a UART is available, at least for maintenance.

MitchBradley avatar Jun 08 '23 16:06 MitchBradley

Ok. Thanks. Is the I2S and Uart in some way critical for the process if RMT is used?

honeybadger2023 avatar Jun 08 '23 17:06 honeybadger2023

I2s and rmt are mutually exclusive. i2s is only for systems with shift-register stepping interface. UART is for communication with sender and debugging.

MitchBradley avatar Jun 08 '23 17:06 MitchBradley

So it is possible to completely remove all I2S based stuff from the code without rendering it useless?

honeybadger2023 avatar Jun 08 '23 17:06 honeybadger2023

Yes, but as I said, I don't have time to support mods like this. You will just have to grapple with it.

MitchBradley avatar Jun 08 '23 18:06 MitchBradley

I totally understand and thanks for you help.

honeybadger2023 avatar Jun 08 '23 18:06 honeybadger2023