MabezDev / wokwi-server

Other
62 stars 8 forks source link

how to load the spiffs for simulation ? #18

Open laldana73 opened 1 year ago

laldana73 commented 1 year ago

Hello: There are some way to load the filesystem for the simulation?

Thanks

MabezDev commented 1 year ago

This isn't currently possible.

To add support for spiffs, you'd need to add a CLI flag that allows you to pass an entire bin file, where the bin file would be the output from espflash save-image. The espflash command will create a full bin file of the entire flash of the chip, all partitions (including spiffs), bootloaders and the main app.