Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By GIlbert Marchal
#17403 Hi,
Got the pubsub mqtt basic example running but, even if everything seems to work fine, I get the error (from debug serial) "No heap available, failed to malloc 0".

Do I have to worry about this?

By the way I tried to monitor free heap with ESP.getFreeHeap() but this function does not seem to be implemented in the very last version (?).

Thank you in advance for your help!
User avatar
By Stevenelson
#17564 Ivan says the ESP object isn't in the latest compiled version of the IDE, but it is in the source. I haven't tried this yet, so I can't confirm this, but he said that if you compile the latest clone from github the ESP object is in there.
User avatar
By GIlbert Marchal
#17572
Stevenelson wrote:Ivan says the ESP object isn't in the latest compiled version of the IDE, but it is in the source. I haven't tried this yet, so I can't confirm this, but he said that if you compile the latest clone from github the ESP object is in there.


Hi,
Sorry for my ignorance but i'm not sure to understand what you mean.
You mean that the adafruit package does not contain the latest version of ESP object?

thank you.