Comments (4)
Same error.
c:\Users\gorkhaan\Documents\Arduino\libraries\ElegantOTA\src\ElegantOTA.cpp: In lambda function:
c:\Users\gorkhaan\Documents\Arduino\libraries\ElegantOTA\src\ElegantOTA.cpp:144:71: error: 'FS_end' was not declared in this scope; did you mean 'va_end'?
144 | uint32_t update_size = mode == OTA_MODE_FILESYSTEM ? ((size_t)FS_end - (size_t)FS_start) : ((ESP.getFreeSketchSpace() - 0x1000) & 0xFFFFF000);
| ^~~~~~
| va_end
c:\Users\gorkhaan\Documents\Arduino\libraries\ElegantOTA\src\ElegantOTA.cpp:144:88: error: 'FS_start' was not declared in this scope; did you mean 'va_start'?
144 | uint32_t update_size = mode == OTA_MODE_FILESYSTEM ? ((size_t)FS_end - (size_t)FS_start) : ((ESP.getFreeSketchSpace() - 0x1000) & 0xFFFFF000);
| ^~~~~~~~
| va_start
exit status 1
Compilation error: exit status 1
Well this solved it: #143 (comment)
from elegantota.
This error is caused by the outdated platform version in PlatformIO. Need to update it to the latest.
from elegantota.
Had the same error in ArduinoIDE (esp8266 v3.0.2) the fix in #143 fixed it for me too!
from elegantota.
Ref: #143
from elegantota.
Related Issues (20)
- Error compiling Async Demo in PlatformIO HOT 9
- Improvement request for README - show that "/update" is the url to use for ota HOT 2
- No autoreboot
- Possibility to run ElegantOTA with PsychicHttp HOT 9
- Missing UI source HOT 2
- ElegantOTA Async Demo Example will not compile HOT 2
- Timeout if OTA fails HOT 1
- kernel panic / crash when using two ElegantOTA instances and Soft AP HOT 6
- PLEASE RELEASE AND PUBLISH 3.1.1 😄 HOT 2
- ElegantOTA over ethernet on ESP32 HOT 1
- Save / load settings variables using LITTLEFS HOT 1
- firmware update protection? HOT 1
- no matching function for call to 'ElegantOTAClass::begin(AsyncWebServer*)' HOT 5
- Update successful, but no reboot HOT 1
- Error in platformio_upload.py instructions
- No ELEGANT OTA lite web interface appears HOT 1
- ElegantOTA crashed on ESP32 NINA-W102 EVK
- Documentation fails to mention how to access portal HOT 2
- platformio_upload.py with authentication not working HOT 2
- no <wifi.h> & <update.h> files found. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elegantota.