#SPIFFS

2025-08-07

One of the things that annoyed me when using #ESP32forth is that with recent versions of the #ArduinoIDE it is no longer possible to use plugins for uploading additional files to the #SPIFFS partition of the ESP32.

There is a workaround solution for ESP32forth that allows a user to copy-paste code into the terminal, which is then stored on the filesystem - but that didn't convince me.

So I spent the last two days tinkering with mkspiffs and esptool.py and finally found a way to not only upload files to the SPIFFS partition but also dumping files *from* that partition back to your computer. All from the command line, no ArduinoIDE and plugins required - see here:

ufud.org/posts/2025-08-07-esp3

#ESP32
#Forth
#ueforth

2025-08-06

a question to the #arduinio crowd: is there any working way for the current 2.3.6 #arduinoide to upload files to a #spiffs filesystem?

Yes, I know there is arduino-esp32fs-plugin but this *does not* work with the current 2.3.6 IDE. It only worked with 2.0.

He'll be [REDACTED]™ soonquasirealsmiths@beige.party
2024-01-18

so i've got #sqlite3 running on my #esp32 via #LittleFS (#SPIFFS had issues with DELETE statements and would mess up opening/closing for some reason), set up web API locally for it..... and now am trying to think of where i want to integrate it.

It's simply recording every cycle of the washing machine (this project, that keeps growing: beige.party/@quasirealsmiths/1 ) and it'd be neat to see a little graph.

For $3 these little boards are beasts -> aliexpress.us/item/32568041580

next project i think will be a heat/sound sensor put under the sink on the exterior cabinet wall facing the dishwasher so I can "smarten" that thing, too.

tobozotobozo
2023-04-10

ESP32: migrating files from SPIFFS to LittleFS without rebooting is possible if some conditions are met: the partition contents must fit in memory.

Devices with PSRAM have an obvious advantage.

gist.github.com/tobozo/79846b1

He'll be [REDACTED]™ soonquasirealsmiths@beige.party
2023-03-25

Years ago someone gave me one of these Google DIY kits that I had zero use for at that point since I didn't have a spare #RaspberryPi and having an Alexa-type device was never my cup of tea: aiyprojects.withgoogle.com/voi

However, since I'm all #Esp32'ing now and looking for stuff to hook up to them, I took another look at the kit and got interested in the microphone hat. Looking around online I found someone had gotten the pinouts of the 5-wire cable, so it was just a matter of connecting it to the right parts one of my #S2 #mini boards.

The #Wemos #S2Mini has the whole I2S thing going on, so I just had to find some good code examples to see if this little board worked.

After some fiddling about, I got that little guy recording to a WAV file to its #SPIFFS file system and hosting a web server so I could download the audio.

The volume is a little low, but it's pretty cool.

However, my idea behind this isn't to record audio but to be a noise detection board that will activate at a specific threshold of sound and do something.

What it will do I have no idea. Maybe use it as an alternate method for detecting if the washing machine is still going.

I am addicted to these little boards. Help.

An ESP32 board wired to a Google microphone hat
[REDACTED]™, Instance MigratorquasirealSmiths@infosec.exchange
2022-12-16

is #SPIFFS writing just really slow compared to streamhttpclient's downloading on #ESP32 or what? downloading a huge text file (a hosts one) seems to try to get all the data but write it wrong or stop writing... we're talking 1.3MB files (SPIFFS set for 3MB)... i dunno

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst