Yes. Or use an alternative printf version without heap usage like this one:
Note that other (very few) newlib functions might also dynamically allocate memory internally or do that by definition like strdup.
Yes. Or use an alternative printf version without heap usage like this one:
Note that other (very few) newlib functions might also dynamically allocate memory internally or do that by definition like strdup.