ESPrinkler2 icon indicating copy to clipboard operation
ESPrinkler2 copied to clipboard

'U_SPIFFS' was not declared in this scope

Open pbezza opened this issue 4 years ago • 3 comments

Error related to this line if (!Update.begin(fullSize, U_SPIFFS)) {

I had to change to if (!Update.begin(fullSize, U_FS)) {

It now compiles.

pbezza avatar Dec 21 '20 05:12 pbezza

Does it also work after flash? Looks like you changed the filesystem as spiff is now regarded as obsolete what I read everywhere :-/

Meins321 avatar Mar 13 '21 13:03 Meins321

Yes, works perfectly after flashing. Not sure what was different about my ide. I had the required libraries. It's been a while since I compiled this so can't remember all details. I was also mucking around with another project around this time that requires spiffs so I could have changed a setting that affected this?

pbezza avatar Mar 13 '21 21:03 pbezza

Does your ESP8266 keep the wifi connection? Mine disconnects from the fritzbox 7590 and the does not come back to my wifi somehow :-/

i do suspect that the powersaving/Sleep mode for the wifi is still there and if you don't access it after the powerup it will just disconnect after some more minutes even when in range

i did change over to the younger softwar here but still have this issue: https://github.com/lawabb/ESPrinkler2

Meins321 avatar Jul 19 '21 13:07 Meins321