You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @lkaino,
Thank you for the suggestion. We are looking into optimizing the SDK so it can be used on smaller devices. I have made a note of this suggestion in our internal tracker. We will definitely look into optimizing the debug memory allocations as well for the next release.
Please do let us know if you have further suggestions.
When IOT_DEBUG is enabled, iot_tls_connect declares a stack variable of 16 kB:
This will easily cause stack overflow on many embedded devices.
I suggest to declare the
buf
global instead.The text was updated successfully, but these errors were encountered: