AnsweredAssumed Answered

Which is recommended utility vs nanolibc for M0+

Question asked by KEVIN KRATZER on Nov 4, 2019
Latest reply on Nov 6, 2019 by Erich Styger

I am planning to add assertions to my debugging tool capabilities.  Erich Styger has a couple of very helpful posts explaing how to get around the code bloat of stdio.h.  There are two different recommendation to reduce the memory overhead given in the posts I read. The first is for "utility" and the second is to add "-nanolibc" into the KDS linker.

 

Since I am using KDS, Which would be better to use?

 

If -nanolib.c were used, what command would be used, puts() or printf()?

Outcomes