- Sat Aug 28, 2021 5:32 am
#92156
I wonder what they actually did. Using the plain "strip" command on a library will render it useless, it cannot be used as library anymore (symbols are missing). Also all symbols are removed when converting the elf file to an ESP image. So it can't be that.
I think they seriously (at last) had a look at all functions marked as "iram" and decided a lot didn't have to be really in IRAM.
Or they found the trap I also fell in one time: if you mark a function as "iram" and use any inline function there (either explicit or assigned by the compiler), the body of the inlined function will also go into iram and that may make a lot of difference. Even though it may not be necessary at that point.
Or it was simply the usual Espressiv sloppyness, in ESP8266_NONOS_SDK all functions not explicitly marked for a section go into IRAM. I guess that also counts for the libraries. So they found some unmarked functions that should have been marked.
I tend to go for the last one...
I updated my case:
https://github.com/espressif/ESP8266_NO ... issues/329