Closed krakkajack closed 4 years ago
hmm 🤔
to me it seems like something wrong with the ESP libraries; as it's something relating to FS not being defined in their functions...
I'll investigate this a little more and try and get a solution, please wait
Issue relates to having the latest version of ESP8266 boards installed.
If you go to " Tools > Boards > Boards manager " and downgrade ESP8266 to "2.5.2" ( and set exceptions to disabled ) then it will compile fine.
Related issues:
it seems like the esp8266 guys have a "update and forget" problem as some other code bases rely on changes in the 2.4.2 versions of ESP, breaking in 2.5.2
For the time being I'll have to amend the project page and mention it specifically. We might have to work on a 2.6.3 branch in the future.
Can you confirm that it works?
Wow, thanks for the fast response. Have to wait til I get home from work and I'll get on it.
Hi, Yes, I downgraded to 2.5.2, and it compiled and loaded, but I had to then upgrade again for the Data Upload tool to work. A bit of shuffling around but it's all working well now. Thanks for your help! tim
Hi, Tried to compile this project and got the following error report:
Arduino: 1.8.12 (Windows 10), Board: "LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600"
In file included from C:\Users\sccph\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:30:0,
**C:\Users\sccph\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\ESP8266WiFi\src/CertStoreBearSSL.h:40:23: error: 'FS' has not been declared
C:\Users\sccph\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\ESP8266WiFi\src/CertStoreBearSSL.h:46:5: error: 'FS' does not name a type
In file included from C:\Users\sccph\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\ESP8266WebServer\src/ESP8266WebServer-impl.h:30:0,
C:\Users\sccph\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\ESP8266WebServer\src/detail/RequestHandlersImpl.h:67:29: error: expected ')' before '&' token
espcode:287:1: error: expected '}' at end of input
}
^
espcode:287:1: error: expected unqualified-id at end of input
espcode:287:1: error: expected '}' at end of input
exit status 1 expected '}' at end of input
I'm pretty sure the last three errors just flow on from the first three. tim