as I'm writing code for a device that is used by a friend I had the idea / the question
There is an IDE-tool for storing data in the ESP8266's /ESP32's flash-ROM.
This could be any kind of a textfile or html-code or whatever.
Then I was asking myself is there more special tool to store the sourcecode of the compiled binary that is running on the ESP into flash?
This would mean that the sourcecode is always "at hand" where the device is.
Of course I can do this with the standard LittleFS-data-upload tool
copying the source-code-file(s) into a subfolder "data" and then start the standard-LittleFS-upload-tool.
But as computers are there to take over schematic work that follows an always the same pattern this uploading could be done by a tool similar to the standard LittleFS-data-uploadtool.
best regards Stefan