-
Notifications
You must be signed in to change notification settings - Fork 0
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
Connecting to WiFi crashes the app #1
Comments
Hi there. I'll try your code later today. nik |
hi @nikthefix |
@morphal nik |
@nikthefix
|
I tried your code and it's working but the original problem was due to an error in my odometer demo sketch: Line 182: size_t buffer_size = sizeof(lv_color_t) * screenWidth; should have been... size_t buffer_size = sizeof(lv_color_t) * screenWidth * screenHeight; The wrongly sized buffer was corrupting the heap. It looks like you found the error anyway :) nik |
Hi!
Thanks for this demo project!
I've tried to modify the code to add some connectivity capabilities and faced the following issue. When connecting to WiFi, the application crashes. I've imported the project to platformio to get the backtrace decoded and here is the error:
Adding WiFi was pretty straightforward:
Can you please assist in resolving the LVGL/SquareLine studio conflicts with the WiFi?
I am attaching the project to help reproduce the issue.
odometer-platformio.zip
Thank you
The text was updated successfully, but these errors were encountered: