This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

printf and the heap ?

Hello,
I have integrated the following #pragma in my program

#pragma import(__use_no_heap)

now, if I dare using

printf

I get this linker error:

scheduler.axf: Error: L6915E: Library reports error: __use_no_heap was requested, but malloc was referenced
scheduler.axf: Error: L6915E: Library reports error: __use_no_heap was requested, but free was referenced

I thought that printf was not accessing the heap?

0