what does fopen do on ESP32?

timl12332
Posts: 27
Joined: Wed May 10, 2017 3:05 pm

what does fopen do on ESP32?

Postby timl12332 » Sun Sep 02, 2018 9:20 pm

Hi

Since the ESP32 doesn't have a harddrive in the way a pc does, what happens when I call fopen?(if it does anything?)
Will it create a file in SPIFFS?
Is there a way to make it work, as I can't get it to work.(Gives me an error when trying to create a file)
It would be nice if I can use the FILE class as pretty much every library uses it.(e.g. stb_image)

Thx!

User avatar
loboris
Posts: 514
Joined: Wed Dec 21, 2016 7:40 pm

Re: what does fopen do on ESP32?

Postby loboris » Sun Sep 02, 2018 10:19 pm


Who is online

Users browsing this forum: Baidu [Spider] and 277 guests