Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brakes at ElegantOTA.cpp -> Line 141 #186

Open
pranjal-joshi opened this issue May 12, 2024 · 0 comments
Open

Brakes at ElegantOTA.cpp -> Line 141 #186

pranjal-joshi opened this issue May 12, 2024 · 0 comments

Comments

@pranjal-joshi
Copy link

Hi @ayushsharma82
Both Demo and Async Demo fail with error.
Tried v3.2.0 and v3.0.0

C:\Users\Pranjal Joshi\Documents\Arduino\libraries\ElegantOTA\src\ElegantOTA.cpp: In lambda function:
C:\Users\Pranjal Joshi\Documents\Arduino\libraries\ElegantOTA\src\ElegantOTA.cpp:141:71: error: 'FS_end' was not declared in this scope; did you mean 'va_end'?
  141 |         uint32_t update_size = mode == OTA_MODE_FILESYSTEM ? ((size_t)FS_end - (size_t)FS_start) : ((ESP.getFreeSketchSpace() - 0x1000) & 0xFFFFF000);
      |                                                                       ^~~~~~
      |                                                                       va_end
C:\Users\Pranjal Joshi\Documents\Arduino\libraries\ElegantOTA\src\ElegantOTA.cpp:141:88: error: 'FS_start' was not declared in this scope; did you mean 'va_start'?
  141 |         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

Note that I've changed #define while trying Async demo.

Arduino IDE details:

Version: 2.3.2
Date: 2024-02-20T10:04:35.814Z
CLI Version: 0.35.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant