These are chat archives for SmingHub/Sming

11th
Apr 2016
Patrick Jahns
@patrickjahns
Apr 11 2016 08:05
@ChrisRovers
if you want you can open up a issue report on github for future reference and also bugfixing

@hreintke @alonewolfx2
Found an interesting articel on heap allocation within esp and improving it:
https://blog.cesanta.com/embedded-heap-behaviour-analysis-and-improvement

might be interesting for rtos sdk ?

and RTOS Sming
alonewolfx2
@alonewolfx2
Apr 11 2016 13:03
@patrickjahns intresting.
i will look into it
alon24
@alon24
Apr 11 2016 18:37
@patrickjahns this would be nice in sming, especially with rtos
hreintke
@hreintke
Apr 11 2016 20:36
This message was deleted
@alon24 @alonewolfx2 @patrickjahns :
Not looked into all details of it as I was busy with migrating Sming itself but as far as I understand the freertos documentation, the heap allocation of rtos is fully open, documented and in source available.
alon24
@alon24
Apr 11 2016 20:40
This describe alteration yo make the allocator less stupid, but does not mention rtos, althow it is feasible, that the rtos implementation is the same as regular non os
That, only a guru can check
hreintke
@hreintke
Apr 11 2016 20:42
The main limitation in rtos is the stack. We would need compile freertos specific for investigating that.
hreintke
@hreintke
Apr 11 2016 20:52
C:\Espressif\ESP8266_RTOS_SDK\third_party\freertos\heap_4.c
Patrick Jahns
@patrickjahns
Apr 11 2016 22:17
It was more something I came across while scouting for something else and thought it might be interesting - just always had the allocation/reallocaiton "issue" in my head while working on the http upload feature