Are you requesting assistance with some problem you are having using the Nano ESP32 board with Arduino CLI? If so, please provide a detailed description of the problem, including:
What did you do?
What were the results you expected from doing that thing?
What were the results you observed that did not match your expectations?
Make sure to include the full and exact text of any error or warning message you might have encountered.
PS D:\nb-desktop\luigi\Documents\Arduino\SPIFFS-WebServerDinamico> & "C:\Users\luigi\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1\esptool.exe" --port COM5 write_flash 0x1000 .\out.spiffs
esptool.py v4.5.1
Serial port COM5
Connecting...
A serial exception error occurred: Cannot configure port, something went wrong. Original message: PermissionError(13, 'Un dispositivo collegato al sistema non è in funzione.', None, 31)
Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
PS D:\nb-desktop\luigi\Documents\Arduino\SPIFFS-WebServerDinamico>
Unfortunately I don't have any experience working with SPIFFS on the ESP32. Hopefully one of the other forum members will be able to provide assistance.
Something you should note is that, if you are searching for information about this subject on the Internet, any information you find about the subject for ESP32 in general should also apply to the Nano ESP32 board. So don't limit your searches to only information about the Nano ESP32 specifically since you would be unnecessarily filtering out a lot of valuable information.