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

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

Brakes at ElegantOTA.cpp -> Line 141 #186

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

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
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Jun 29, 2024
Copy link
Contributor

github-actions bot commented Jul 6, 2024

This issue was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant