newlib-nano, printf requires malloc
Asked by
Nestor Lopez Casado
I'd like to use printf for basic debugging on a cortex-m0 with minimal ram size. I dont want to use any dynamic memory allocation, effectively having 0 heap size.
newlib-nano already provides a great code size improvement compared to the classic newlib, but stills uses malloc and friends. Which is the best approach to overcome the dynamic memory allocation ? Should I code my own printf ?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Nestor Lopez Casado
- Solved:
- Last query:
- Last reply:
To post a message you must log in.