Noticed particularly the stack usage difference of a function _printf_f between ARM Compiler 6 (tested with 6.11) and ARMCC 5.06 (update 6) is a whopping 6x more on the AC6 (1968 bytes on AC6 vs 320 bytes on AC5), as reported by the linker static analysis.
Any reason why AC6 uses more stack in this case?
Appreciate any thoughts on this.
ST
"I got rid of all my floating point string formatting in sprintf and snprintf"
That's your answer right there!
OK.
What I am not getting is, I did the same (by using floating point formatting) in AC5 but stack usage was 2000 bytes lower.
Both sprintf are ARMABI calls.
What I did was merely recompiling the same sources after changing the compiler, and the increment was noticed.
So why is there such a difference between these two libraries? Just being curious...
Thanks!