EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

newlib-lpc... what does it add to newlib?

Started by rsturmer July 13, 2008
Is newlib-lpc worth the trouble? If I've got newlib targeted at the
arm arch, what does newlib-lpc buy me that I don't already have? Is
it actually a port layer that enables otherwise unavailable features
in newlib? Or is it just a set of drivers for lpc-specific hardware?
The documentation is a little hazy for me, and I've bothered to build
it, but am wondering if it's something I should invest time in
learning, or do without.

Cheers!

-R

An Engineer's Guide to the LPC2100 Series

At 01:24 AM 7/14/2008 +0000, rsturmer wrote:
>Is newlib-lpc worth the trouble? If I've got newlib targeted at the
>arm arch, what does newlib-lpc buy me that I don't already have? Is
>it actually a port layer that enables otherwise unavailable features
>in newlib? Or is it just a set of drivers for lpc-specific hardware?

That depends on what you've provided for in your own port. Newlib-lpc
provides the hooks need to support malloc and stdio and stream functionality,

Separately it also provides some interrupt wrappers and interrupt support
functions. Some of these are ARM generic, some are LPC specific.

In addition there are functions specific to the LPC series, some device
drivers and I have a large backlog of additional device drivers to get out.

Most of the support functions could be easily separated from the newlib
portion easily enough.

Robert

http://www.aeolusdevelopment.com/

From the Divided by a Common Language File (Edited to protect the guilty)
ME - "I'd like to get Price and delivery for connector Part # XXXXX"
Dist./Rep - "$X.XX Lead time 37 days"
ME - "Anything we can do about lead time? 37 days seems a bit high."
Dist./Rep - "that is the lead time given because our stock is live.... we
currently have stock."

The 2024 Embedded Online Conference