So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Inq720
#94201
quackmore wrote:
the RTOS just rides on top of the same guts used in the NoOS version.


I don't think so
It's a different SDK


I understand it is a different HIGH-LEVEL SDK.

However, they both use lwIP for handling TCP and the levels below... down to the ESP8266 hardware. And that is the memory we are talking about that is dynamically allocated without our knowledge, but we must leave available.

IMO I believe leaving somewhere between 6kB and 10kB as reported by system_get_free_heap_size() is necessary. It does not matter what is riding above the TCP - be it... SSL, HTTP, MQTT, NonOS, RTOS or even Python... they are already taking up the space they need when calling system_get_free_heap_size.
User avatar
By quackmore
#94203 when I say nonos and rtos sdk are different I mean that none of the system calls you've mentioned will work with the rtos sdk

system_get_free_heap_size doesn't even provide the same information of esp_get_minimum_free_heap_size we were talking about

don't take it personal but it's like you're describing pistons to the owner of a Tesla... you're not helping