[SOLVED] Compile Error - U_SPIFFS
Posted: 06 May 2020, 15:22
Hi, I'm trying to compile ESPeasy my own.. I followed to instruction to set everything up (git,vscode,platformio) and installed all needed plugins (I also needed pygit2 which was not mentioned in the wiki).
But there is one error while building custom_ESP8266_4M1M which I can't solve and google hasn't an answer for me.
I don't know if this is the right place for this question, but I would like to write a custom plugin (and maybe contribute it).
Without a working Build of the stock ESPeasy code I cannot start
Sorry for bothering you because it's likely a setup problem and not a code problem.
But there is one error while building custom_ESP8266_4M1M which I can't solve and google hasn't an answer for me.
I don't know if this is the right place for this question, but I would like to write a custom plugin (and maybe contribute it).
Without a working Build of the stock ESPeasy code I cannot start
Sorry for bothering you because it's likely a setup problem and not a code problem.
Code: Select all
Compiling .pio/build/custom_ESP8266_4M1M/liba9a/ArduinoOTA_ID6178/WiFiOTA.cpp.o
/home/MYUSER/.platformio/lib/ArduinoOTA_ID6178/src/InternalStorageESP.cpp: In member function 'virtual int InternalStorageESPClass::open(int, uint8_t)':
/home/MYUSER/.platformio/lib/ArduinoOTA_ID6178/src/InternalStorageESP.cpp:35:56: error: 'U_SPIFFS' was not declared in this scope
return Update.begin(length, command == 0 ? U_FLASH : U_SPIFFS);
^
/home/MYUSER/.platformio/lib/ArduinoOTA_ID6178/src/InternalStorageESP.cpp:36:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
*** [.pio/build/custom_ESP8266_4M1M/liba9a/ArduinoOTA_ID6178/InternalStorageESP.cpp.o] Error 1