[SOLVED] Compile Error - U_SPIFFS

Moderators: grovkillen, TD-er, Stuntteam

Post Reply
Message
Author
tyrann619
Normal user
Posts: 4
Joined: 05 May 2020, 21:58

[SOLVED] Compile Error - U_SPIFFS

#1 Post by tyrann619 » 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.

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
Last edited by tyrann619 on 06 May 2020, 17:17, edited 1 time in total.

tyrann619
Normal user
Posts: 4
Joined: 05 May 2020, 21:58

Re: Compile Error - U_SPIFFS

#2 Post by tyrann619 » 06 May 2020, 17:15

SORRY.. nvm..

I had installed a ArduinoOTA library via PlatformIO. :oops:

After trying for some hours I removed the library (PlatformIO -> Libraries -> Installed -> Uninstall everything with ArduinoOTA)
Now it works..

TD-er
Core team member
Posts: 2640
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: [SOLVED] Compile Error - U_SPIFFS

#3 Post by TD-er » 07 May 2020, 00:20

Good to see you solved it.

About the pygit2 dependency.. that was only added 2 days ago so not yet documented in all places we have documentation.

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests