I use Visual Studio Code and PlatformIO to develop firmware for ESP32.
As you know, in order to place files inside the flash you have to put them into a data folder, then build and upload the file system image.
Inside the SPIFFS partition I store the web pages and the certificates for SSL.
Of course the certificates are different for each unit.
I wonder which is the recommended way to customize the content of the SPIFFS partition in production. Let's say for 100-500 pcs.
Using the procedure above can work but it takes too much time.
Is there a way to add and upload a file directly? At least, without the need to have all the others file contained in the data folder.
Any suggestion is appreciated.