Closed
Description
@jeremypoulter
Hi Jeremy, I'm modifying a version of emonESP for my emonDC board. I was hoping for your input on a decision I have to make.
I'm logging data to an SD card, using the ESP8266.
The firmware has class conflicts between the SPIFFS filesystem and the SDCard filesystem libraries. I've tried changing all the class definitions in the .h and .cpp file of the SD card lib to no avail.
So I have three possible paths.
- Move all the SPIFFS files to the SDcard and run emonESP from an SD card.
- The main disadvantage is requiring an SD card to run the basic program, a limitation I don't want.
- Get SD card and SPIFFS working alongside each other. The best resource I've found to change the emonESP firmware is this: Make SD Class be able to coexist with SPIFFS esp8266/Arduino#1524 (comment)
- A brief go at this method I couldn't make work because the function names differed I think.. I'll have another go at getting this working..
- Write to a datalogging file in the SPIFFS and provide a way to download the file in emonESP.
- I imagine memory space to be the limitation here.
Metadata
Metadata
Assignees
Labels
No labels