lpcware

To Redlib or to Newlib nano, that's the question

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by OldManVimes on Mon Feb 02 09:57:52 MST 2015
Hi support,

I truly appreciate the fact that LPCXpresso has added support for Newlib nano, but at the same time there does not appear to be a lot of difference between it and the existing Redlib. Both have similar design goals. So with that in mind, let me ask you this. Given a (new) design where both Redlib and Newlib nano are suitable, which library do you recommend we use?

Personally I have a slight preference for Newlib nano because it is open source. That brings me to the next topic.

I have a feature request related to Newlib (nano). The libraries are part of the LPCXpresso installer, but as far as I can tell, the source code is not. Now there should be little reason to debug library calls, but at the same time it can be very helpful. It would for instance make it easier to verify whether or not a particular library call performs heap allocation. So would you please consider adding, or providing separately, the source code for Newlib (nano) such that the debugger can make use of it?

Keep up the good work.
Kind regards,
Vimes

Outcomes