-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
add callback to HTTPUpdate #5408
Conversation
- add callback function to HTTPUpdate - update example to print httpupdate progress - fix ArduinoIDE syntax coloring Signed-off-by: Jayantajit Gogoi <[email protected]>
Thanks @jayanta525 :) |
@jayanta525 No matter what I do, I always get |
@epiller I tested with the latest release 2.0.0, and the example compiled without any errors on ArduinoIDE. Please make sure you're using the correct src and header files. You can turn on verbose output during compilation in ArduinoIDE and check whether the compiler is using the correct |
@jayanta525 I just found out that while ESP8266 uses the same repo both on Arduino IDE and PlatformIO, ESP32 on PlatformIO utilizes https://github.com/platformio/platform-espressif32, which isn't the same as this one, so I guess I'll have to figure something out. Sorry and thank you for your help! |
@epiller You can add the HTTPUpdate library from this repo to And edit platformio.ini to ignore the built-in library.
https://docs.platformio.org/en/latest/projectconf/section_env_library.html#lib-extra-dirs And don't forget to set ldf_mode |
@jayanta525 That solved it and it's fully working now! Thank you so much man! |
Signed-off-by: Jayantajit Gogoi [email protected]